Closed Bug 1536176 Opened 8 months ago Closed 8 months ago

Share LangGroupFontPrefs between documents.

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

My patch for bug 1535788 causes some pref-usage-at-startup tests to fail, given we query the default variable font and some prefs for every document now.

We should share these across documents.

Assignee: nobody → emilio
Blocks: 1490401
Priority: -- → P3

All lang groups are static, no point in doing refcounting.

And also don't blow the preferences away unless they actually change. We were
blowing them away whenever the document language changed or what not, that's not
good.

Depends on D23954

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fa8777d9e0e1
Use nsStaticAtom in nsLanguageAtomService. r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/7976a9441fb9
Share font preferences across documents. r=jfkthame
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.