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)
Firefox
General
Tracking
()
NEW
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
Reporter | ||
Comment 1•7 years ago
|
||
cc'ing kmag since I think he digs this kind of stuff.
Comment 2•7 years ago
|
||
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.
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•