diff --git a/XMLHttpRequest/abort-after-receive.htm b/XMLHttpRequest/abort-after-receive.htm index 736d289c9b6db3..44a02ba66af9f6 100644 --- a/XMLHttpRequest/abort-after-receive.htm +++ b/XMLHttpRequest/abort-after-receive.htm @@ -29,7 +29,7 @@ client.onabort = test.step_func(function () { // this should not fire! - assert_unreached("abort should not cause the about event to fire"); + assert_unreached("abort() should not cause the abort event to fire"); }); client.open("GET", "resources/well-formed.xml", true); diff --git a/XMLHttpRequest/abort-after-timeout.htm b/XMLHttpRequest/abort-after-timeout.htm new file mode 100644 index 00000000000000..74c6e85bd9176f --- /dev/null +++ b/XMLHttpRequest/abort-after-timeout.htm @@ -0,0 +1,54 @@ + + + + XMLHttpRequest: abort() after a timeout should not fire "abort" event + + + + + +
+ + +