Interrupted XmlHttpRequest returns completed/200 status and no data
Categories
(Core :: DOM: Networking, defect, P2)
Tracking
()
People
(Reporter: sebaks, Assigned: twisniewski)
References
Details
(Keywords: regression, Whiteboard: [necko-triaged][wptsync upstream])
Attachments
(2 files)
Reporter | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Ouch, sorry for letting your needinfo slip under the radar, Selena!
Yes I should be capable of fixing this, but (clearly) I haven't had any time to do so.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Thomas, checking in to see if we can get this fixed in time for 67 soft freeze (Mar 11)?
Assignee | ||
Comment 14•6 years ago
|
||
I don't suspect that I'll have the time to personally get it done by then, but if no one else is available to do so, then I'll see what I can do.
Assignee | ||
Comment 15•6 years ago
|
||
It looks as though the error here is that the code I added in bug 1362354 is not updating the XHR's state appropriately.
Weirdly, I can't reproduce the error at all on my Linux system, but it does reproduce for me on Windows.
I'm doing a try-run now to verify a candidate fix which will fix that (ensuring that the status is correctly set to 0). I'll update this bug ASAP.
Assignee | ||
Comment 16•6 years ago
|
||
Alright, a try-run seems fine: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d0eaff9393cf5be7b8105a9beaf52ce5e934f519
I'll post my patch up for review in a moment.
Assignee | ||
Comment 17•6 years ago
|
||
properly update XHR status when one is aborted because of an NS_BINDING_ABORTED confition such as window.stop()
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Description
•