Open Bug 909976 Opened 11 years ago Updated 2 years ago

The application quits unexpectedly after a few 'WARNING: requested removal of nonexistent window' and 'ASSERTION: consider quit stopper out of bounds'

Categories

(Toolkit :: Startup and Profile System, defect, P5)

defect

Tracking

()

People

(Reporter: florian, Unassigned)

References

Details

Steps to reproduce: - in about:config, set "browser.chromeURL" to an empty string. (This has no reason to happen in Firefox by default, but I think it's reasonable for this preference to not be set in XUL applications that don't expose a browser, and handle all http links through nsIExternalProtocolService). - open the Browser console, enter: window.open() and press enter. Repeat this step several times (typically 3 or 4) until the application quits for no apparent reason. In a debug build, each time window.open() is entered in the browser console, these messages will be printed to the terminal: Couldn't convert chrome URL: chrome://navigator/content/navigator.xul WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file .../netwerk/base/src/nsIOService.cpp, line 601 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file .../xpfe/appshell/src/nsWebShellWindow.cpp, line 240 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file .../xpfe/appshell/src/nsAppShellService.cpp, line 590 WARNING: requested removal of nonexistent window: file .../embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 1194 --DOCSHELL 0x1110bf000 == 11 [id = 13] WARNING: NS_ENSURE_TRUE(newWindow) failed: file .../xpfe/appshell/src/nsXULWindow.cpp, line 1774 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file .../dom/base/nsGlobalWindow.cpp, line 10111 Once window.open() has been executed as many times as there were opened window, this assertion will be printed once for each window that actually existed: ###!!! ASSERTION: consider quit stopper out of bounds: 'mConsiderQuitStopper > 0', file .../toolkit/components/startup/nsAppStartup.cpp, line 498 And the application quits "cleanly" (it doesn't crash).
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.