Closed
Bug 679841
Opened 13 years ago
Closed 8 years ago
window.showModalDialog fails in fennec mochitests
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jdm, Unassigned)
References
(Blocks 1 open bug)
Details
We end up hitting this assertion in content/html/document/test/test_bug391777.html:
###!!! ASSERTION: attempted to open a new window with no WindowCreator: 'mWindowCreator', file /Users/jdm/src/mobilebase/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 687
We're trying to create a modal chrome window with no chrome parent, and the parent has a null result from GetMainWidget (see nsWindowWatcher::OpenWindowJSInternal).
Reporter | ||
Comment 1•13 years ago
|
||
In fact, the parentWindow is just an nsDocShellTreeOwner and GetMainWidget just returns NS_ERROR_NULL_POINTER.
Reporter | ||
Comment 2•13 years ago
|
||
It looks like the main problem here is that we don't initialize the window watcher component at startup by calling SetWindowCreator as it states we need to in the docs.
Reporter | ||
Comment 3•13 years ago
|
||
Front-end folk, is this something we should be able to do?
Comment 4•11 years ago
|
||
Related to bug 753555.
Updated•9 years ago
|
Comment 5•8 years ago
|
||
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•