mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d
This commit is contained in:
parent
85fa6409bb
commit
c227604a2c
997 changed files with 45660 additions and 14650 deletions
|
@ -0,0 +1,11 @@
|
|||
promise_test(() => {
|
||||
return fetch("/XMLHttpRequest/resources/echo-headers.py", {headers: [["THIS-is-A-test", 1], ["THIS-IS-A-TEST", 2]] }).then(res => res.text()).then(body => {
|
||||
assert_regexp_match(body, /THIS-is-A-test: 1, 2/)
|
||||
})
|
||||
}, "Multiple headers with the same name, different case (THIS-is-A-test first)")
|
||||
|
||||
promise_test(() => {
|
||||
return fetch("/XMLHttpRequest/resources/echo-headers.py", {headers: [["THIS-IS-A-TEST", 1], ["THIS-is-A-test", 2]] }).then(res => res.text()).then(body => {
|
||||
assert_regexp_match(body, /THIS-IS-A-TEST: 1, 2/)
|
||||
})
|
||||
}, "Multiple headers with the same name, different case (THIS-IS-A-TEST first)")
|
Loading…
Add table
Add a link
Reference in a new issue