Another similar issue: https://perfht.ml/2l1f671 XrayResolveAttribute calling into nsDocument::IsWebComponentsEnabled() which does a slow hashtable lookup. Making this block bug 1334263 since I don't know of a better tracker bug.
Created attachment 8840288 [details] [diff] [review] Make nsDocument::IsWebComponentsEnabled use a cached bool pref
Attachment #8840288 - Flags: review?(amarchesini)
Attachment #8840288 - Flags: review?(amarchesini) → review+
We should also add this to the content prefs, otherwise the content process attempts to access it too early at startup.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9fe977a59fa1 Make nsDocument::IsWebComponentsEnabled use a cached bool pref; r=baku
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox54: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.