Closed
Bug 902550
Opened 11 years ago
Closed 11 years ago
Disable more session restore code in e10s
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 26
People
(Reporter: billm, Assigned: billm)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
3.14 KB,
patch
|
ttaubert
:
review+
|
Details | Diff | Splinter Review |
Session restore is supposed to be completely disabled on mozilla-central when browser.tabs.remote is set. However, it looks like we can still call the onLoad function, which can cause problems. This patch adds another test to avoid this.
Attachment #787023 -
Flags: review?(ttaubert)
Comment 1•11 years ago
|
||
Comment on attachment 787023 [details] [diff] [review] sessionrestore-fix Review of attachment 787023 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/sessionstore/src/SessionStore.jsm @@ +393,5 @@ > > + if (this._disabledForMultiProcess) { > + this._deferredInitialized.resolve(); > + return; > + } I think we should bail out earlier, before observers are added. Otherwise we'll end up tracking windows when they're opened etc.
Attachment #787023 -
Flags: review?(ttaubert)
Assignee | ||
Comment 2•11 years ago
|
||
This should skip the observers.
Attachment #787023 -
Attachment is obsolete: true
Attachment #787692 -
Flags: review?(ttaubert)
Assignee | ||
Comment 3•11 years ago
|
||
Tom noticed a couple paths through the API that need fixing.
Attachment #787692 -
Attachment is obsolete: true
Attachment #787692 -
Flags: review?(ttaubert)
Attachment #787706 -
Flags: review?(ttaubert)
Updated•11 years ago
|
Attachment #787706 -
Flags: review?(ttaubert) → review+
Updated•11 years ago
|
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
Version: unspecified → Trunk
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb7bf75e0a28
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eb7bf75e0a28
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Comment 6•11 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #0) > Session restore is supposed to be completely disabled on mozilla-central > when browser.tabs.remote is set. What about all other public functions? HistoryMenu calls: getClosedTabCount, getClosedTabData, getClosedWindowCount, getClosedWindowData duplicateTabIn call duplicateTab is it permanent disabled or just until Session restore will be e10s ready?
You need to log in
before you can comment on or make changes to this bug.
Description
•