diff options
Diffstat (limited to 'testing/web-platform/tests/xhr/send-send.any.js')
-rw-r--r-- | testing/web-platform/tests/xhr/send-send.any.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/xhr/send-send.any.js b/testing/web-platform/tests/xhr/send-send.any.js new file mode 100644 index 0000000000..64b1554180 --- /dev/null +++ b/testing/web-platform/tests/xhr/send-send.any.js @@ -0,0 +1,7 @@ +test(function() { + var client = new XMLHttpRequest() + client.open("GET", "resources/well-formed.xml") + client.send(null) + assert_throws_dom("InvalidStateError", function() { client.send(null) }) + client.abort() +}, "XMLHttpRequest: send() - send()"); |