blob: 67bbae6e68df8d4c5aadbb1000b039f734e1799c [file] [log] [blame]
// META: title=XMLHttpRequest: abort() should not reset event listeners
var test = async_test()
test.step(function() {
var client = new XMLHttpRequest(),
test = function() {}
client.onreadystatechange = test
client.open("GET", "resources/well-formed.xml")
client.send(null)
client.abort()
assert_equals(client.onreadystatechange, test)
})
test.done()