Created attachment 8592066 [details] [diff] [review] patch We create a FontFaceSet object for every document, regardless of whether @font-face rules were used in its style sheets or document.fonts is touched. We should check whether the array of @font-face rules returned by the style set is non-empty before creating the FontFaceSet.
Attachment #8592066 - Flags: review?(jdaggett)
When a FontFace object is created from script, it calls aPresContext->Fonts() from its constructor, which causes the FontFaceSet to be created.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=54efcc453c6b (the red OS X builds are some transient problem)
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox40: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.