Closed
Bug 2013932
Opened 9 months ago
Closed 9 months ago
nsDocShell::CreateInitialDocumentViewer should pass aCheckPermitUnload = false to viewer creation
Categories
(Core :: DOM: Navigation, task)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
149 Branch
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: vhilla, Assigned: vhilla)
References
Details
Attachments
(1 external file)
See https://phabricator.services.mozilla.com/D281438#9750565.
When creating the initial viewer, there should be no viewer beforehand. We should consider
- Turning the assert for
!mDocumentViewerinCreateInitialDocumentViewerinto a diagnostic assert - Asserting
mInitializedinCreateAboutBlankDocumentViewer - Passing
falseasaCheckPermitUnloadargument toCreateAboutBlankDocumentViewer - Maybe also asserting
mInitialized && mDocumentViewerinDoURILoad.
I don't think we ever have a viewer already in CreateInitialDocumentViewer but it could happen in some edge case / race.
| Assignee | ||
Updated•9 months ago
|
See Also: → sync-about-blank
| Assignee | ||
Comment 1•9 months ago
|
||
(In reply to Vincent Hilla [:vhilla] from comment #0)
See https://phabricator.services.mozilla.com/D281438#9750565.
- Maybe also asserting
mInitialized && mDocumentViewerinDoURILoad.
Bug 2013289 tells us that we reach DoURILoad without viewer.
| Assignee | ||
Comment 2•9 months ago
|
||
| Assignee | ||
Updated•9 months ago
|
Assignee: nobody → vhilla
| Assignee | ||
Comment 3•9 months ago
|
||
Updated•9 months ago
|
Attachment #9543605 -
Attachment description: WIP: Bug 2013932 - Be more strict about requiring a viewer. r=#dom-core → Bug 2013932 - Be more strict about when docshell has a viewer and is initialized. r=#dom-core
Pushed by vhilla@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/0c8d0fd09335
https://hg.mozilla.org/integration/autoland/rev/ef5d383f2f1f
Be more strict about when docshell has a viewer and is initialized. r=dom-core,smaug
Comment 5•9 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 months ago
status-firefox149:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Updated•8 months ago
|
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in
before you can comment on or make changes to this bug.
Description
•