Closed
Bug 493565
Opened 16 years ago
Closed 16 years ago
onreadystatechange never fires (test case is 18 lines)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 313646
People
(Reporter: riegel, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
<html>
<head>
<title>FireFox Bug</title>
<script>
function doit() {
alert('Begin XMLHttpRequest');
xhr = new XMLHttpRequest();
xhr.open('get', 'a.html', false);
xhr.onreadystatechange = function() { alert('got an answer!!'); };
xhr.send(null);
alert('Sent');
}
</script>
</head>
<body>
<a href="javascript:doit();">Do the upload</a>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1. see URL... http://clearimageonline.com/clearimage/jscripts/testajax.html
2. Click "Do The Upload"
3. this line...
xhr.onreadystatechange = function() { alert('got an answer!!'); };
never fires.
Actual Results:
You should see an alert "got an answer!" but it never fires
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•