Closed Bug 622218 Opened 9 years ago Closed 5 years ago
Quitting during window
.open causes shutdown hang
###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 109
nsGlobalWindow::OpenJS spins the event loop!?
The assertion is most likely to trigger if you press Cmd+Q just before the testcase opens a new window.
> nsGlobalWindow::OpenJS spins the event loop!? Yes, because it has to load the XUL for the new window's browser UI.
See bug 622764 for another assertion that sometimes accompanies this one.
bug 795703 has been pushed to m-i and might fix this.
That fixes the assertion, but I still get the hang (depending on timing; see comment 3).
Summary: Quitting during window.open causes "ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that" and shutdown hang → Quitting during window.open causes shutdown hang
WFM. I tried about 20 times and didn't get any hangs or assertions.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.