Closed
Bug 942942
Opened 11 years ago
Closed 8 years ago
XMLHTTPRequest randomly fails with status code 0 during multiple requests
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: marcus.fritze, Unassigned)
References
()
Details
Attachments
(3 files)
I created a example (see URL), where you can see that the status code of a XMLHTTPRequest is sometimes 0. Open the example and continue with your work (browse the web or do some stuff that requires a lot of CPU and HDD write read access)! The example makes a request to the own server and the response should be 200. Sometimes when Firefox is slow or almost not responding or Firefox "calculates" some other stuff, Firefox fails with status code 0. The request interval and the request URL can be modified in the online.js file. This file is based on the following project: https://github.com/PixelsCommander/OnlineJS You can test it for yourself. You only need the index.html, online.js and online.php Info: When you run Peacekeeper Browser Benchmark, almost at the end of this test, Firefox has a lot of stuff to do and the status 0 error counts up.
Reporter | ||
Comment 1•11 years ago
|
||
index.html - example
Reporter | ||
Comment 2•11 years ago
|
||
online.js - example
Reporter | ||
Comment 3•11 years ago
|
||
online.php - example
Reporter | ||
Comment 4•11 years ago
|
||
Bug 488605 is maybe the same issue
Reporter | ||
Comment 5•11 years ago
|
||
I should also mention, that this bug also occurs on Windows systems.
Comment 6•9 years ago
|
||
That bug is hitting our product very often. We noticed that if Firefox is working on something slow the status code 0 bug happens very often.
Comment 7•9 years ago
|
||
Marcus, I'll ask you for an NSPR log: https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging Please also provide the URL of the XHR that failed for you. Thanks.
Flags: needinfo?(marcus.fritze)
Comment 8•8 years ago
|
||
Lack of progress.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(marcus.fritze)
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•