Closed
Bug 989580
Opened 11 years ago
Closed 11 years ago
Lazy load BrowserElementParent.jsm in BrowserElementParent.js
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: mfinkle, Assigned: rnewman)
References
Details
Attachments
(1 file, 1 obsolete file)
1.64 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Comment 1•11 years ago
|
||
This ought to do the trick...
Attachment #8399165 -
Flags: review?(jst)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
Try all green:
https://tbpl.mozilla.org/?tree=Try&rev=fdf651db884a
Assignee | ||
Comment 3•11 years ago
|
||
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)
Assignee | ||
Comment 4•11 years ago
|
||
Now with more actually-doing-what-it-should.
Attachment #8399541 -
Flags: review?(jst)
Updated•11 years ago
|
Attachment #8399541 -
Flags: review?(jst) → review+
Assignee | ||
Comment 5•11 years ago
|
||
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
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•