store MediaFeatureDescription references as an index into the MEDIA_FEATURES array

RESOLVED FIXED in Firefox 65

Status

()

enhancement
P3
normal
RESOLVED FIXED
5 months ago
5 months ago

People

(Reporter: heycam, Assigned: heycam)

Tracking

unspecified
mozilla65
Points:
---

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

The current use of a static reference is incompatible with sharing style sheet data across processes.

I figure just storing a usize is simpler than coming up with an enum to represent each kind of media feature, especially since the usize isn't exposed out of MediaFeatureExpression.
The current use of a static reference is incompatible with sharing style sheet data
across processes.

Comment 3

5 months ago
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c32668ebbbe
Store MediaFeatureDescription references as an index into the MEDIA_FEATURES array r=emilio

Comment 4

5 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/3c32668ebbbe
Status: ASSIGNED → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.