Closed
Bug 79342
Opened 23 years ago
Closed 23 years ago
JavaScript window.onresize = new Function("window.location.reload()") doesn't work
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: birger.langkjer, Assigned: rogerl)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9) Gecko/20010505
BuildID: 2001050515
If I have 'window.onresize = new Function("window.location.reload()")' in my
javascript file, Mozilla 9.0 will just blink indefinitely on loading the page,
untill I take the line 'window.onresize = new
Function("window.location.reload()")' out of the js-file.
Reproducible: Always
Steps to Reproduce:
1. Load the page with 'window.onresize = new Function("window.location.reload()")'
2.
3.
Expected Results: Nothing
The line is only there for compatibility with older Netscape browsers. It might
be suplerfious.
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 77321 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•