Closed Bug 989580 Opened 11 years ago Closed 11 years ago

Lazy load BrowserElementParent.jsm in BrowserElementParent.js

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: mfinkle, Assigned: rnewman)

References

Details

Attachments

(1 file, 1 obsolete file)

BrowserElementParent.js only needs BrowserElementParent.jsm if "dom.mozBrowserFramesEnabled=true" which is only true for B2G, it seems. Otherwise, BrowserElementParent.jsm and BrowserElementPromptService.jsm (via BrowserElementParent.jsm) are loaded but never used. Those two take up >80KB together in about:memory as well as affect startup performance.
OS: Linux → All
Hardware: x86_64 → All
This ought to do the trick...
Attachment #8399165 - Flags: review?(jst)
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Comment on attachment 8399165 [details] [diff] [review] Lazy load BrowserElementParent.jsm in BrowserElementParent.js. v1 Whoops, missed a bit.
Attachment #8399165 - Attachment is obsolete: true
Attachment #8399165 - Flags: review?(jst)
Now with more actually-doing-what-it-should.
Attachment #8399541 - Flags: review?(jst)
Attachment #8399541 - Flags: review?(jst) → review+
https://hg.mozilla.org/integration/fx-team/rev/b5bcfca4bf5b mfinkle, keep an eye on AWSY and startup perf, see if this is measurable enough to warrant hopping to Aurora?
Target Milestone: --- → mozilla31
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: