mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
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:
parent
ef3ea340a5
commit
93ac0cd0e3
@ -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) {
|
||||
|
@ -1,4 +1,6 @@
|
||||
[abort-after-stop.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[XMLHttpRequest: abort event should fire when stop() method is used]
|
||||
expected: FAIL
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user