Closed Bug 1529972 Opened 3 years ago Closed 3 years ago

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


(GeckoView :: General, enhancement, P1)



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

Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed


(Reporter: cpeterson, Assigned: mbrubeck)




(Whiteboard: [geckoview:fenix:m3])


(1 file)

Fenix feature request:

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).

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 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
Add GeckoView API to control CSS prefers-color-scheme query. r=esawin,geckoview-reviewers
Closed: 3 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.

You need to log in before you can comment on or make changes to this bug.