Closed
Bug 1778204
Opened 3 years ago
Closed 3 years ago
LightweightThemeChild doesn't call update() for non-sidebar parent process documents
Categories
(Firefox :: Theme, task)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
104 Branch
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
Attachments
(2 files)
This line here:
assumes that if LightweightThemeChild is running in the parent process, that it's for a sidebar. That bit of gunk that I highlighted does the job for finding the root docShell outerWindowID if the document happens to be a sidebar, but ends up getting at the about:firefoxview outerWindowID for the about:firefoxview case.
We should make it so that LightweightThemeChild returns the outerWindowID of the top-level chrome window in either case.
Assignee | ||
Comment 1•3 years ago
|
||
The other mechanism was working fine for sidebars, but falls over as soon as we
have a normal browser running in the parent process in the main content area.
This will also be helpful if / when we decide to support themes in about:preferences,
about:config, and other parent-process pages.
Updated•3 years ago
|
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6ade0f685c46
More reliably get at the outerWindowID of the root window in LightweightConsumerChild.jsm. r=sclements,dthayer
Assignee | ||
Updated•3 years ago
|
Keywords: leave-open
Assignee | ||
Comment 3•3 years ago
|
||
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a616ef9e2944
Add a test for contentTheme for in-process tabs. r=dthayer
Comment 5•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Keywords: leave-open
Comment 6•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•