Backed out changeset 6ed95396bdb6 (bug 1362354) for failing web-platform-test /html/browsers/browsing-the-web/navigating-across-documents/010.html. r=backout

This commit is contained in:
Sebastian Hengst 2017-07-27 12:48:45 +02:00
parent ef3ea340a5
commit 93ac0cd0e3
2 changed files with 2 additions and 8 deletions

View File

@ -2237,14 +2237,6 @@ XMLHttpRequestMainThread::OnStopRequest(nsIRequest *request, nsISupports *ctxt,
return NS_OK;
}
if (status == NS_BINDING_ABORTED &&
((mState == State::opened && mFlagSend) ||
mState == State::headers_received ||
mState == State::loading)) {
// Make sure we send event abort if termination reason is end-user abort.
Abort();
}
mWaitingForOnStopRequest = false;
if (mRequestObserver) {

View File

@ -1,4 +1,6 @@
[abort-after-stop.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: abort event should fire when stop() method is used]
expected: FAIL