Closed Bug 1529972 Opened 5 years ago Closed 5 years ago

GV API to toggle CSS prefers-color-scheme media query (aka CSS Dark Mode)

Categories

(GeckoView :: Media, enhancement, P1)

All
Android
enhancement

Tracking

(firefox-esr60 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 wontfix, firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: cpeterson, Assigned: mbrubeck)

References

()

Details

(Whiteboard: [geckoview:fenix:m3])

Attachments

(1 file)

Fenix feature request:
https://github.com/mozilla-mobile/fenix/issues/627

Stefan says we may need an A-C issue.

Priority: -- → P2

Fenix plans to implement its battery-saving mode in M4, so GV should provide its dark mode API in M3 (assuming dark mode is still part of the battery-saving mode).

https://github.com/mozilla-mobile/fenix/issues/240

Whiteboard: [geckoview:fenix:p2] → [geckoview:fenix:m3]
Depends on: 1532850

Moving to Fenix M4 milestone because the Fenix team is not blocked by this bug.

Whiteboard: [geckoview:fenix:m3] → [geckoview:fenix:m4]
Assignee: nobody → mbrubeck

Dark mode settings have been deferred from Fenix MVP, so I'm moving this bug from Fenix M4 to Fenix P3 (post-MVP work).

Fenix will ship GV 67. Android support for prefers-color-scheme (bug 1532850) landed in 68 Nightly, so that bug would also need to be uplifted to GV 67 Beta if we wanted dark mode in Fenix MVP.

Whiteboard: [geckoview:fenix:m4] → [geckoview:fenix:p3]

67=affected because prefers-color-scheme ("CSS dark mode") is still planned for Fenix MVP. We'll need to uplift this API to 67 Beta.

Priority: P2 → P1
Whiteboard: [geckoview:fenix:p3] → [geckoview:fenix:m4]

Fenix issue https://github.com/mozilla-mobile/fenix/issues/1164 says the Fenix team plans to implement the setting UI in Fenix M4 milestone, so we should try to land the GV API for the M3 milestone.

Summary: GV API to toggle CSS prefers-color-scheme media feature (aka Dark Mode) → GV API to toggle CSS prefers-color-scheme media query (aka CSS Dark Mode)
Whiteboard: [geckoview:fenix:m4] → [geckoview:fenix:m3]
Pushed by mbrubeck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0d5da6e22753
Add GeckoView API to control CSS prefers-color-scheme query. r=esawin,geckoview-reviewers
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68

67=wontfix. Neither Fenix MVP nor Firefox for Fire TV will use GeckoView 67, so we don't need to uplift this fix to 67 Beta.

Moving some media bugs to the new GeckoView::Media component.

Component: General → Media
See Also: → 1792672
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: