Closed
Bug 885948
Opened 11 years ago
Closed 5 years ago
Calling window.toggleSidebar() causes Fx to crash
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: evold, Unassigned)
References
Details
(Keywords: crash)
Crash Data
Try the following in Scratchpad (after you have prepared for a crash): let sidebar = window.document.getElementById('sidebar'); sidebar.addEventListener('load', function() { let panel = sidebar.contentDocument.getElementById('web-panels-browser'); panel.addEventListener('DOMWindowCreated', function() { window.toggleSidebar(); }) }, true) window.openWebPanel('test', 'https://mozilla.org'); For more information see https://bugzilla.mozilla.org/show_bug.cgi?id=881011#c4
Comment 1•11 years ago
|
||
Please provide a crash ID.
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Scoobidiver from comment #1) > Please provide a crash ID. https://crash-stats.mozilla.com/report/index/bp-95ee3d0f-7050-4b1e-9dba-628082130624
Flags: needinfo?(evold)
Comment 3•11 years ago
|
||
Does it happen in the trunk? The first frames are: Frame Module Signature Source 0 XUL nsGlobalWindow::DispatchDOMWindowCreated obj-firefox/x86_64/dist/include/nsCOMPtr.h:764 1 XUL XUL@0xbdf570 2 libmozglue.dylib arena_dalloc memory/mozjemalloc/jemalloc.c:1699 3 libsystem_c.dylib libsystem_c.dylib@0x2d8f8 4 XUL nsIMacUtils::COMTypeInfo<int>::kIID 5 XUL _ZZL6EncodeP9JSContextN2JS6HandleIP14JSLinearStringEEPKtS7_NS1_13MutableHandleIN 6 XUL nsRunnableMethodImpl<void obj-firefox/x86_64/dist/include/nsThreadUtils.h:350 7 XUL nsContentUtils::RemoveScriptBlocker content/base/src/nsContentUtils.cpp:5054 8 XUL XUL@0xb6ca10 9 XUL nsDocumentViewer::InitInternal obj-firefox/x86_64/dist/include/nsContentUtils.h:2290 10 XUL XUL@0x4ba940 11 XUL XUL@0xb789b0 12 XUL nsDocumentViewer::Init layout/base/nsDocumentViewer.cpp:683 13 XUL nsDocShell::SetupNewViewer docshell/base/nsDocShell.cpp:8322 More reports at: https://crash-stats.mozilla.com/report/list?signature=nsGlobalWindow%3A%3ADispatchDOMWindowCreated%28%29
Crash Signature: [@ nsGlobalWindow::DispatchDOMWindowCreated() ]
status-firefox22:
--- → affected
Component: Toolbars and Customization → DOM
Flags: needinfo?(evold)
Keywords: stackwanted
Product: Firefox → Core
Version: Trunk → 22 Branch
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Scoobidiver from comment #3) > Does it happen in the trunk? Yes https://crash-stats.mozilla.com/report/index/bp-b5c28103-bad7-4c58-bd06-30ac72130624
Flags: needinfo?(evold)
Version: 22 Branch → Trunk
Comment 5•11 years ago
|
||
(In reply to Erik Vold [:erikvold] [:ztatic] from comment #4) > https://crash-stats.mozilla.com/report/index/bp-b5c28103-bad7-4c58-bd06- > 30ac72130624 Better stack trace: Frame Module Signature Source 0 XUL nsGlobalWindow::DispatchDOMWindowCreated obj-firefox/x86_64/dist/include/nsCOMPtr.h:820 1 XUL nsRunnableMethodImpl<void obj-firefox/x86_64/dist/include/nsThreadUtils.h:350 2 XUL nsContentUtils::RemoveScriptBlocker content/base/src/nsContentUtils.cpp:4738 3 XUL nsDocumentViewer::InitInternal obj-firefox/x86_64/dist/include/nsContentUtils.h:2237 4 XUL nsDocumentViewer::Init layout/base/nsDocumentViewer.cpp:683 5 XUL nsDocShell::SetupNewViewer docshell/base/nsDocShell.cpp:8264 6 XUL nsDocShell::Embed docshell/base/nsDocShell.cpp:6283 7 XUL nsDocShell::CreateContentViewer docshell/base/nsDocShell.cpp:8051 8 XUL nsDSURIContentListener::DoContent docshell/base/nsDSURIContentListener.cpp:123 9 XUL nsDocumentOpenInfo::TryContentListener uriloader/base/nsURILoader.cpp:658 10 XUL nsDocumentOpenInfo::DispatchContent uriloader/base/nsURILoader.cpp:360 11 XUL nsDocumentOpenInfo::OnStartRequest uriloader/base/nsURILoader.cpp:252 12 XUL mozilla::net::nsHttpChannel::CallOnStartRequest netwerk/protocol/http/nsHttpChannel.cpp:961 ...
status-firefox22:
affected → ---
Comment 6•11 years ago
|
||
Against Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130903030201 CSet: d54e0cce6c17: bp-ec2ef1f4-e6f4-4b1b-8eb5-630b72130903
OS: Mac OS X → All
Updated•9 years ago
|
Crash Signature: [@ nsGlobalWindow::DispatchDOMWindowCreated() ] → [@ nsGlobalWindow::DispatchDOMWindowCreated() ]
[@ nsGlobalWindow::DispatchDOMWindowCreated ]
Comment 7•5 years ago
|
||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•