Closed
Bug 481631
Opened 17 years ago
Closed 17 years ago
Ajax onreadystatechange handler is not called
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 480807
People
(Reporter: szhbug, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090304 Shiretoko/3.1b3pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090304 Shiretoko/3.1b3pre
after sending Ajax POST request, onreadystatechange handler is not called,
though firebug shows, that all data arrived.
However when I click on external link, to leave the page -
onreadystatechange is called.
Reproducible: Always
Steps to Reproduce:
approximately:
1. var req = new XMLHttpRequest();
2. req.open("POST", mystr, true);
3. req.onreadystatechange = ajax_callback
4. req.send( mydata );
function ajax_callback(evt)
{
alert("ajax_callback"); // shows only when leaving the page
...
... // lots of other code
}
Expected Results:
callback handler call when data arrives.
This bug does NOT exist in Fx 3.1 beta2 or Minefield Gecko/20090305 Minefield/3.2a1pre;
Updated•17 years ago
|
Component: General → DOM: Events
Product: Firefox → Core
QA Contact: general → events
Comment 1•17 years ago
|
||
This sounds a lot like bug 480807.
Comment 2•17 years ago
|
||
feel free to undupe if it's not bug 480807
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•