Closed
Bug 383304
Opened 17 years ago
Closed 17 years ago
Onreadystatechange doesn't fire when XHR is used in synchronous mode
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 313646
People
(Reporter: chrisbloom7, Unassigned)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 When using an XHR object in a synchronous fashion, the onreadystatechange event is never fired. Many AJAX frameworks/libraries depend on this functionality, so it should always fire. Note that having the Firebug extension installed causes the XHR object to behave as expected. Reproducible: Always Steps to Reproduce: See http://www.csb7.com/test/xhr_ff_orsc_bug/ for examples and link to another description of the problem.
Comment 1•17 years ago
|
||
This bug makes Firefox non-conformant with XMLHttpRequest as is currently drafted. Any thoughts on fixing this?
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Comment 3•16 years ago
|
||
confirm on FF 3.0.1 <script> r=new XMLHttpRequest() r.onreadystatechange=function(){if(r.readyState==4)alert(r.responseText)} r.open('GET','1.txt',false) r.send(null) </script>
You need to log in
before you can comment on or make changes to this bug.
Description
•