Closed
Bug 308652
Opened 19 years ago
Closed 15 years ago
onload-Event does not fire, when page loading has finished
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: alexander.knoeller, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 The page is intended to wait with its location.reload() until the Landmarkpixel from ETRACKER is loaded. The JavaScript-Version of the Landmark is written with document.write, so may be here is a Problem why the onload-Event does not know when it has to be triggered? On the internal Test-Systems the error strangely never occurs. So may be it is a runtime concurrency problem. With IE this error does not occur at all Reproducible: Sometimes Steps to Reproduce: Just load the URL Actual Results: The location.reload never is executed and no JavaScript-Error occurs. So I guess the onload-event does not fire at all. Expected Results: always fire the onload event, when the page loading has finished
Mine test is simple. I have a form that loads, and I want to get the value of an element on a form. The end result will be more complicated than that, but the simple retrieve of a form: alert(document.getElementById('searchform')); returns null. I am guessing that onload fires before the page has finished loading. I ran the page in Firebug and I get the same (searchform is null). When I look at the form is the FireFox error console, I can see the form just fine.
Comment 2•15 years ago
|
||
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Version: unspecified → 1.0 Branch
Comment 3•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•