Closed
Bug 1846500
Opened 2 years ago
Closed 2 years ago
Inherit PrefersColorSchemeOverride for chrome windows with opener relationship
Categories
(Firefox :: Theme, task)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: emz, Assigned: emilio)
References
Details
Attachments
(1 file)
We use prefersColorSchemeOverride
to apply dark theme to only Private Browsing Mode windows. This has led to edge cases like Bug 1844346 where child windows opened from PBM windows don't have the override applied.
For Bug 1844346 we resolved the issue by manually migrating the prefersColorSchemeOverride state from the opener window in cert manager / pageinfo code. However ideally we can add this inheritance to our BrowsingContext
code directly. See comments here: https://bugzilla.mozilla.org/show_bug.cgi?id=1844346#c6
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/276cf96e94e0
Inherit color scheme override from opener. r=pbz
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•