Closed
Bug 1474131
Opened 5 years ago
Closed 5 years ago
Lazily load ContentRestore.jsm
Categories
(Firefox :: Session Restore, enhancement, P1)
Tracking
()
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
(Blocks 1 open bug)
Details
(Whiteboard: [overhead:17K])
Attachments
(1 file)
ContentRestore.jsm is only needed when we're actually restoring the contents of a tab, which doesn't happen that often. The gContentRestore instance is created lazily, but the JSM is always imported eagerly.
Comment hidden (mozreview-request) |
Comment 2•5 years ago
|
||
mozreview-review |
Comment on attachment 8990546 [details] Bug 1474131: Don't load ContentRestore.jsm before it's needed. https://reviewboard.mozilla.org/r/255604/#review262852 Looks good, thanks! I'm particularly pleased that we have a test that'll catch if this somehow regresses.
Attachment #8990546 -
Flags: review?(mconley) → review+
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1c7a0f1327ebfa5009eb4085655f0cc25d8bb294 Bug 1474131: Don't load ContentRestore.jsm before it's needed. r=mconley
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1c7a0f1327eb
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in
before you can comment on or make changes to this bug.
Description
•