aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-10-12 17:01:10 +0200
committerMs2ger <Ms2ger@gmail.com>2015-10-12 17:53:50 +0200
commitc8c377df9fb66cac3739f5fb30fb1070143a800f (patch)
tree776bf4c539c6bcbe3e570baf45cac4eb800095dc /tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
parentaf637640ae8b480db1faba067fb2875ebdbe88d3 (diff)
downloadservo-c8c377df9fb66cac3739f5fb30fb1070143a800f.tar.gz
servo-c8c377df9fb66cac3739f5fb30fb1070143a800f.zip
Update web-platform-tests to revision 4bba821de44da9ed47c2562f995a0da6eecc177b
Diffstat (limited to 'tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js')
-rw-r--r--tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
index 5120d45c22e..b9b4d653244 100644
--- a/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
+++ b/tests/wpt/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
@@ -43,6 +43,7 @@ function test_withCredentials(worker) {
test(function() {
var client = new XMLHttpRequest()
client.open("GET", "resources/delay.py?ms=1000", false)
+ client.send();
assert_throws("InvalidStateError", function() { client.withCredentials = true })
}, "setting withCredentials when in DONE state (synchronous)")
}