Closed Bug 1153988 Opened 5 years ago Closed 5 years ago
Null Principals directly, rather than going through do _Create Instance
There's a better way to create null principals than do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and save ourselves some XPCOM overhead.
Counting said that the CSSStyleSheet and nsNodeInfoManager ones were (relatively) hot during tests; I replaced all instances to encourage people when they cargo-cult things.
Attachment #8591823 - Flags: review?(bugs)
I had to back this out for windows build bustage: https://treeherder.mozilla.org/logviewer.html#?job_id=8842415&repo=mozilla-inbound
Blah, that's what I get for gambling that the hadn't-started windows builds on try were going to be successful.
You need to log in before you can comment on or make changes to this bug.