Closed Bug 709899 Opened 13 years ago Closed 9 years ago

"ASSERTION: Full-screen root should be a full-screen doc" with mozRequestFullScreen() followed by window.close()

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file 1.html
1. Save both files
2. Load 1.html
3. Click the "1" button
4. Click the "2" button

Result:

###!!! ASSERTION: Full-screen root should be a full-screen doc...: 'root->IsFullScreenDoc()', file content/base/src/nsDocument.cpp, line 8527

nsDocument::OnPageHide [nsCOMPtr.h:558]
DocumentViewerImpl::PageHide [nsCOMPtr.h:827]
nsDocShell::FirePageHideNotification [nsAutoPtr.h:1036]
nsDocShell::Destroy [nsCOMPtr.h:827]
nsXULWindow::Destroy [nsCOMPtr.h:540]
nsWebShellWindow::Destroy [xpfe/appshell/src/nsWebShellWindow.cpp:784]
nsGlobalWindow::ReallyCloseWindow [nsCOMPtr.h:558]
nsCloseEvent::Run [dom/base/nsGlobalWindow.cpp:6331]
nsThread::ProcessNextEvent [xpcom/threads/nsThread.cpp:625]
NS_ProcessPendingEvents_P [obj-firefox/xpcom/build/nsThreadUtils.cpp:195]
nsBaseAppShell::NativeEventCallback [widget/src/xpwidgets/nsBaseAppShell.cpp:131]
nsAppShell::ProcessGeckoEvents [widget/src/cocoa/nsAppShell.mm:441]
CoreFoundation + 0x4e3d1
CoreFoundation + 0x4c5c9
CoreFoundation + 0x4bd8f
HIToolbox + 0x2e74e
HIToolbox + 0x2e4b1
HIToolbox + 0x2e40c
AppKit + 0x43eb2
-AppKit + 0x43801
-[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] [widget/src/cocoa/nsAppShell.mm:208]
-AppKit + 0x968f
nsAppShell::Run [widget/src/cocoa/nsAppShell.mm:797]
nsAppStartup::Run [toolkit/components/startup/nsAppStartup.cpp:221]
XRE_main [toolkit/xre/nsAppRunner.cpp:3525]
main [browser/app/nsBrowserApp.cpp:201]
Attached file 2.html
It seems this does no longer assert.
Status: NEW → RESOLVED
Closed: 9 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.

Attachment

General

Creator:
Created:
Updated:
Size: