Closed
Bug 1191112
Opened 9 years ago
Closed 9 years ago
window.close() immediately after mozRequestFullScreen leads to bad state and assertion failure
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: jruderman, Assigned: xidorn)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(5 files, 2 obsolete files)
350 bytes,
text/html
|
Details | |
2.14 KB,
text/plain
|
Details | |
753 bytes,
patch
|
smichaud
:
review+
|
Details | Diff | Splinter Review |
1.28 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
2.85 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
1. Load the testcase 2. Click "Open second window" 3. Click "Full screen & close window" Result: Nothing is full-screen, but dock & menubar are hidden! 4. Quit Firefox Result: Assertion failure: isEmpty(), at LinkedList.h:308
Reporter | ||
Comment 1•9 years ago
|
||
It's a LinkedList<FullscreenRequest>. That matches the declaration of sPendingFullscreenRequests, which was added in: changeset: https://hg.mozilla.org/mozilla-central/rev/10d47ad00e7a user: Xidorn Quan date: Wed Jun 10 23:13:12 2015 +1200 summary: Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao This could be a more recent regression, though.
Assignee | ||
Comment 2•9 years ago
|
||
It is a non-e10s-only bug, but from this I actually notice another e10s bug. The assertion and the dock & menubar hidden are probably two bugs: one is in DOM core which is relatively easier to solve, and not too harmful; the other is the Cocoa widget which really makes me worry.
Assignee | ||
Comment 4•9 years ago
|
||
Assignee: nobody → quanxunzhen
Attachment #8643468 -
Flags: review?(bugs)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8643484 -
Flags: review?(smichaud)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8643485 -
Flags: review?(bugs)
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8643485 -
Attachment is obsolete: true
Attachment #8643485 -
Flags: review?(bugs)
Attachment #8643671 -
Flags: review?(bugs)
Comment 8•9 years ago
|
||
Comment on attachment 8643484 [details] [diff] [review] patch 2 - set the destroyed flag properly on cocoa window Looks good to me. Good catch!
Attachment #8643484 -
Flags: review?(smichaud) → review+
Comment 9•9 years ago
|
||
Comment on attachment 8643468 [details] [diff] [review] patch 1 - flush pending fullscreen requests on page close to avoid leak looks wrong to me. Shouldn't we cancel all the fullscreen requests related to 'this'.
Attachment #8643468 -
Flags: review?(bugs) → review-
Updated•9 years ago
|
Attachment #8643671 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8643468 -
Attachment is obsolete: true
Attachment #8644042 -
Flags: review?(bugs)
Updated•9 years ago
|
Attachment #8644042 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 11•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c7617f2a6df1
Assignee | ||
Comment 12•9 years ago
|
||
url: https://hg.mozilla.org/integration/mozilla-inbound/rev/1f5f32b97e0ddd31c267a491f4c36bc8ddbe29d2 changeset: 1f5f32b97e0ddd31c267a491f4c36bc8ddbe29d2 user: Xidorn Quan <quanxunzhen@gmail.com> date: Thu Aug 06 15:37:48 2015 +1000 description: Bug 1191112 part 1 - Clear pending fullscreen requests on page close. r=smaug url: https://hg.mozilla.org/integration/mozilla-inbound/rev/988184cd378ec56523dbcdfcffefe93d27ea08bf changeset: 988184cd378ec56523dbcdfcffefe93d27ea08bf user: Xidorn Quan <quanxunzhen@gmail.com> date: Thu Aug 06 15:37:48 2015 +1000 description: Bug 1191112 part 2 - Set the destroyed flag on nsCocoaWindow when destroyed. r=smichaud url: https://hg.mozilla.org/integration/mozilla-inbound/rev/d5813935e9a33c27be2391a1cd8617b1e8a9e6f4 changeset: d5813935e9a33c27be2391a1cd8617b1e8a9e6f4 user: Xidorn Quan <quanxunzhen@gmail.com> date: Thu Aug 06 15:37:48 2015 +1000 description: Bug 1191112 part 3 - Don't touch the widget anymore if it has been destroyed during the fullscreen transition. r=smaug
Comment 13•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1f5f32b97e0d https://hg.mozilla.org/mozilla-central/rev/988184cd378e https://hg.mozilla.org/mozilla-central/rev/d5813935e9a3
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•