Open Bug 1444213 Opened 7 years ago Updated 3 years ago

Expose nsIDOMWindowUtils as a lazy global in browser.js

Categories

(Firefox :: General, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mconley, Unassigned)

Details

We use nsIDOMWindowUtils quite a bit[1]. QI'ing / GetInterface-ing it every time likely has overhead. I think we use it enough that having it be a lazy global probably makes sense. That is, unless someone wants to do the work of moving it to WebIDL and exposing it on the window global somehow. [1]: https://searchfox.org/mozilla-central/search?q=nsIDOMWindowUtils&path=browser%2F
cc'ing kmag since I think he digs this kind of stuff.
Yeah, I've actually been thinking about just moving it to WebIDL for a while now... Now that bug 1442931 has landed, it's probably about time.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.