Closed Bug 1093022 Opened 5 years ago Closed 5 years ago
don't dispatch CSSFont
Face Load Events when the pref is not set
We shouldn't be dispatching CSSFontFaceLoadEvents when the Font Loading API pref is not enabled.
[Tracking Requested - why for this release]: Exposing stuff that should not be exposed.
Tracking - just to sanity check, this is different than bug 1092570?
Yes, different bug but related.
I misremembered where the events are dispatched to: they're targetted at the FontFaceSet, not the document, so if the pref isn't set we'll still dispatch the events but they can't be seen by the page. I'm not sure it's worth checking the pref before dispatching them, since we'll presumably want to flip the pref on at some point.
Resolving as invalid; it's not possible to observe the events when the pref is off.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.