Closed
Bug 77321
Opened 23 years ago
Closed 23 years ago
page keeps reloading because of Event.RESIZE or window.onresize
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: bugzilla, Assigned: joki)
References
()
Details
(Keywords: dom0, dom2, Whiteboard: [fixinhand])
Attachments
(2 files)
168 bytes,
text/html
|
Details | |
1.44 KB,
patch
|
Details | Diff | Splinter Review |
if you go to:
http://www.telia.dk/faste_fordele/
the page keeps reloading.
it's because of the javascript in the page which uses
window.captureEvents(Event.RESIZE)
Updated•23 years ago
|
Assignee: asa → joki
Component: Browser-General → DOM Events
QA Contact: doronr → vladimire
Comment 6•23 years ago
|
||
updating component.
Comment 8•23 years ago
|
||
This was not a problem in 0.8.1. Adding window.onresize to summary to try to
reduce the number of duplicates.
Summary: page keeps reloading because of Event.RESIZE → page keeps reloading because of Event.RESIZE or window.onresize
Comment 9•23 years ago
|
||
Adding dom0 and dom2 keywords. Is this only a problem with sites using frames
and iframes? My testcase for bug 79438 shows this bug with an iframe.
Comment 10•23 years ago
|
||
*** Bug 79687 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Assignee | ||
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
Appart from the weird indentation:
@@ -2729,7 +2731,7 @@
nsIRenderingContext* rcx = nsnull;
nsresult rv=CreateRenderingContext(rootFrame, &rcx);
-
if (NS_FAILED(rv)) return rv;
+
if (NS_FAILED(rv)) return rv;
nsHTMLReflowState reflowState(mPresContext, rootFrame,
eReflowReason_Resize, rcx, maxSize);
these changes look good to me, sr=jst
Updated•23 years ago
|
Whiteboard: [fixinhand]
Assignee | ||
Comment 14•23 years ago
|
||
*** Bug 77437 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
*** Bug 77500 has been marked as a duplicate of this bug. ***
Comment 16•23 years ago
|
||
OK:
<html><head><title></title></head>
<body onresize="reload()">test</body></html>
Always reloads:
<html><head><title></title></head>
<body onresize="location.reload()">test</body></html>
Comment 17•23 years ago
|
||
r=vidur
Assignee | ||
Comment 18•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 19•23 years ago
|
||
*** Bug 79265 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
Verifying fixed with build 2001-05-25-09-trunk windows 98
Status: RESOLVED → VERIFIED
Comment 21•23 years ago
|
||
*** Bug 83455 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•