Closed
Bug 1471102
Opened 6 years ago
Closed 6 years ago
Move more stuff from ExtensionUtils.jsm to ExtensionCommon.jsm
Categories
(WebExtensions :: General, enhancement)
WebExtensions
General
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
(Blocks 1 open bug)
Details
(Whiteboard: [overhead:15k])
Attachments
(1 file)
ExtensionUtils.jsm has gotten bloated again with things that aren't needed before extension functionality starts up in a process. This is bad for content process base memory.
Assignee | ||
Updated•6 years ago
|
Whiteboard: [overhead:15k]
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8987715 [details] Bug 1471102: Move more code out of ExtensionUtils.jsm. https://reviewboard.mozilla.org/r/252960/#review260470 This looks fine functionally. But I'm confused about the distinction between ExtensionCommon and ExtensionUtils, it looks like they're generally both loaded into most processes? From the original bug report, I gather that the difference is about exactly how early each is loaded? In any case, can you add a comment (probably to the top of ExtensionUtils) explaining guidelines for what to put where.
Attachment #8987715 -
Flags: review?(aswan) → review+
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Andrew Swan [:aswan] from comment #2) > This looks fine functionally. But I'm confused about the distinction > between ExtensionCommon and ExtensionUtils, it looks like they're generally > both loaded into most processes? From the original bug report, I gather > that the difference is about exactly how early each is loaded? In any case, > can you add a comment (probably to the top of ExtensionUtils) explaining > guidelines for what to put where. Right, it's about how early it gets loaded. ExtensionUtils gets loaded into every process very early, regardless of whether we need to run any extension functionality there. ExtensionCommon only gets loaded once we need to run some part of an extension.
Assignee | ||
Comment 4•6 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/43fb0b6e28d50744ffa778d6cf5373d14689135e Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/43fb0b6e28d5
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment 6•6 years ago
|
||
Is manual testing required on this bug? If yes, please provide some STR and the proper extension(if required) or set the “qe-verify -“ flag. Thanks!
Flags: needinfo?(kmaglione+bmo)
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(kmaglione+bmo) → qe-verify-
Comment hidden (spam) |
You need to log in
before you can comment on or make changes to this bug.
Description
•