summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/xhr/send-send.any.js
blob: 64b1554180973a42993660af792688958899716e (plain)
1
2
3
4
5
6
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()");