aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-03-15 15:55:36 +0100
committerMs2ger <Ms2ger@gmail.com>2016-03-15 16:34:24 +0100
commita91433f0c87a8ef094be98d8849b7f661d5ad5e5 (patch)
tree6b6ffdf85096c309d7be8c63e825615c05487221 /tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js
parent183772583fcbb1f8103e8d6542a620134ba9182e (diff)
downloadservo-a91433f0c87a8ef094be98d8849b7f661d5ad5e5.tar.gz
servo-a91433f0c87a8ef094be98d8849b7f661d5ad5e5.zip
Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947
Diffstat (limited to 'tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js')
-rw-r--r--tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js b/tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js
new file mode 100644
index 00000000000..2e7fe865f3b
--- /dev/null
+++ b/tests/wpt/web-platform-tests/XMLHttpRequest/send-send.js
@@ -0,0 +1,7 @@
+test(function() {
+ var client = new XMLHttpRequest()
+ client.open("GET", "resources/well-formed.xml")
+ client.send(null)
+ assert_throws("InvalidStateError", function() { client.send(null) })
+ client.abort()
+})