summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/XMLHttpRequest/send-send.js
blob: 2e7fe865f3b21c56c4eb91bc468b4d3907455911 (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("InvalidStateError", function() { client.send(null) })
  client.abort()
})