Closed Bug 713597 Opened 8 years ago Closed 8 years ago
Crash removing full-screen element during "resize" event
The first assertion is like in bug 698340, but the other issues are new. ###!!! ASSERTION: Unnecessary MakeFullScreen call: 'mFullScreen != aFullScreen', file widget/src/cocoa/nsCocoaWindow.mm, line 1163 ###!!! ASSERTION: Full-screen element should be the requested element!: 'GetFullScreenElement() == aElement', file content/base/src/nsDocument.cpp, line 8921 ###!!! ASSERTION: Should be full-screen doc: 'IsFullScreenDoc()', file content/base/src/nsDocument.cpp, line 8922 Null deref crash [@ nsDocument::RequestFullScreen], but only in debug builds?
This crash only occurs in debug builds. In nsDocument::RequestFullScreen My assertions need to be before the call to SetWindowFullScreen(), as that can run script which cancels full-screen, invalidating the assertions.
Assignee: nobody → chris
Status: NEW → ASSIGNED
Attachment #585967 - Flags: review?(bugs)
Target Milestone: --- → mozilla12
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.