Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /xhr/send-send.any.html - WPT Dashboard Interop Dashboard
- /xhr/send-send.any.worker.html - WPT Dashboard Interop Dashboard
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()");