Closed
Bug 1007109
Opened 10 years ago
Closed 5 years ago
XMLHttpRequest abort event not triggered on page reload
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
RESOLVED
DUPLICATE
of bug 1362354
People
(Reporter: ajnasz, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release) Build ID: 20140506030204 Steps to reproduce: Sending an XMLHttpRequest, calling window.location.reaload before the request could finish. Actual results: Fired the error and loadend event but not the abort event. Expected results: I would expect to fire the abort event. I created a demo site, where you can test it: http://thawing-beach-1111.herokuapp.com (Heroku currently have some issues) Clicking on the button it will send ajax call, the response would arrive after 1 second. Before the response I call a window.location.reload(), so the request will not finish. If you enable persistent logs, you can see that the error and the loadend event was fired. If you open the same page in Chrome, it will show that the abort and the loadend event was fired. I'm not sure which one is the correct behavior.
Comment 1•10 years ago
|
||
"error": 2011-03-22-03-mozilla-central-firefox-4.0b13pre.en-US.linux-x86_64 a7346f028fd6 "error loadend": 2011-06-18-03-mozilla-central-firefox-7.0a1.en-US.linux-x86_64 0830b8ed9f02 "error loadend": 2014-05-13-03-02-01-mozilla-central-firefox-32.0a1.ru.linux-x86_64
QA Whiteboard: [bugday-20140519]
Updated•10 years ago
|
Component: Untriaged → DOM: Events
Product: Firefox → Core
Comment 4•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Comment 6•6 years ago
|
||
Possibly related to https://bugzilla.mozilla.org/show_bug.cgi?id=1508377.
Comment 7•5 years ago
|
||
This is now working, with the fix that landed in bug 1362354.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•