Closed
Bug 1739930
Opened 3 years ago
Closed 3 years ago
SanityTest.jsm triggers to create 2 compositor sessions
Categories
(Core :: General, enhancement)
Core
General
Tracking
()
RESOLVED
FIXED
96 Branch
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file)
During debugging, I noticed that 2 compositor sessions were created for SanityTest.jsm.
Assignee | ||
Comment 1•3 years ago
•
|
||
SanityTest.jsm called one Services.ww.openWindow().
Assignee | ||
Updated•3 years ago
|
Summary: CompositorSession is created for child window → SanityTest.jsm triggers to create 2 compositor sessions for one HWND
Assignee | ||
Comment 2•3 years ago
•
|
||
Parent widget was created by nsWindowWatcher::OpenWindow(). And then child widget was created since window was pop up.
The child widget does actual rendering of pop up. And CompositorSession of parent widget was created by nsWindow::OnPaint().
Assignee | ||
Updated•3 years ago
|
Summary: SanityTest.jsm triggers to create 2 compositor sessions for one HWND → SanityTest.jsm triggers to create 2 compositor sessions
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 3•3 years ago
|
||
From nsDocumentViewer::ShouldAttachToTopLevel(), content rendering of popup is always done by child widget.
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/62db00bc54c9
Disable CompositorSession in popup parent widget r=gfx-reviewers,bradwerth
Comment 7•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•