Closed
Bug 435895
Opened 16 years ago
Closed 16 years ago
Crash [nsStyleSet::EndReconstruct] with toggling iframe display and resize event handler doing reload
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 462392
People
(Reporter: martijn.martijn, Unassigned)
Details
(Keywords: crash, testcase, Whiteboard: [sg:dupe 462392])
Attachments
(1 file)
819 bytes,
text/html
|
Details |
See testcase, which can crash current trunk builds real soon, or it can took forever. It seems that minimizing Firefox to the task bar speeds up the crash. Also, in a debug build, the crash seems to occur easier. The crash seems somehow related to the resize event handler, which apparently fires sometimes for some reason, so that's why I'm filing this under Core->Event Handling. http://crash-stats.mozilla.com/report/index/286ec330-2bf7-11dd-a9cb-001cc4e2bf68?p=1 0 xul.dll nsStyleSet::EndReconstruct mozilla/layout/style/nsStyleSet.cpp:142 1 xul.dll nsCSSFrameConstructor::RebuildAllStyleData mozilla/layout/base/nsCSSFrameConstructor.cpp:13430 2 xul.dll nsLocation::Reload mozilla/dom/src/base/nsLocation.cpp:895 3 xul.dll NS_InvokeByIndex_P mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp:101 4 xul.dll XPCWrappedNative::CallMethod mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2388
Reporter | ||
Comment 1•16 years ago
|
||
The testcase iframe document consists of this: <script> window.addEventListener('resize', function(e) {window.location.reload() }, true); function toggleIframe(){ var x=top.document.getElementById('content'); x.style.display = x.style.display == 'none' ? x.style.display = '' : x.style.display = 'none'; setTimeout(toggleIframe,100); } setTimeout(toggleIframe,100); </script>
Comment 2•16 years ago
|
||
So far no luck with reproducing on Linux.
Bug 462392 might be a more-reproducable variant.
Reporter | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Whiteboard: [sg:dupe 462392]
Updated•12 years ago
|
Group: core-security
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•