Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d

This commit is contained in:
Josh Matthews 2017-11-15 12:15:13 -05:00
parent 85fa6409bb
commit c227604a2c
997 changed files with 45660 additions and 14650 deletions

View file

@ -18,6 +18,17 @@
client.send(null)
assert_equals(client.responseText, "x-test,")
})
test(() => {
const client = new XMLHttpRequest
client.open("GET", "resources/echo-headers.py", false)
client.setRequestHeader("THIS-IS-A-TEST", "1")
client.setRequestHeader("THIS-is-A-test", "2")
client.setRequestHeader("content-TYPE", "x/x")
client.send()
assert_regexp_match(client.responseText, /content-TYPE/)
assert_regexp_match(client.responseText, /THIS-IS-A-TEST: 1, 2/)
})
</script>
</body>
</html>