Closed
Bug 1057481
Opened 10 years ago
Closed 10 years ago
[E10S] Firefox restores all the previously open windows from the last session even when they were closed
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: achwaqkhalid, Assigned: billm)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.83 KB,
patch
|
ttaubert
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release) Build ID: 20140822030201
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
tracking-e10s:
--- → ?
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
OS: Windows 8.1 → All
Hardware: x86_64 → All
Comment 1•10 years ago
|
||
An error appears in Error Console when I close a window Error: aWindow.content is null Source File: resource:///modules/sessionstore/SessionStore.jsm Line: 1007
Comment 2•10 years ago
|
||
Regression window(m-i) Good: https://hg.mozilla.org/integration/mozilla-inbound/rev/ebffbc56b3a7 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 ID:20140820102420 Bad: https://hg.mozilla.org/integration/mozilla-inbound/rev/5650d84919fc Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 ID:20140820110915 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=ebffbc56b3a7&tochange=5650d84919fc Regressed by: 25c918c5f3e1 Roberto A. Vitillo — Bug 559505 - Deprecate localstore.rdf and replace it with xulstore. r=enn, sr=bsmedberg CLOSED TREE
Blocks: 559505
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Comment 3•10 years ago
|
||
In my case, I can also reproduce in non-e10s...
Comment 4•10 years ago
|
||
Maybe the range of comment #2 is wrong
No longer blocks: 559505
Keywords: regressionwindow-wanted
Comment 5•10 years ago
|
||
I was able to reproduce in non-e10s mode, but I still think this is an e10s bug. I think session store is not updated properly in e10s mode. When you switch the "browser.tabs.remote.autostart" pref to false and restart Firefox in non-e10s mode, the bad (e10s) session store is restored with closed windows. If you restart from non-e10s mode, then closed windows are not restored. myfavoritebeer.org is a good test website because it opens a Persona login window.
Comment 6•10 years ago
|
||
Okay Steps To Reproduce: 1. Open https://developer.mozilla.org/En/Code_snippets 2. Click "Signin with" > "Persona" 3. Login, then wait for automatic reload the page 4. Wait for 15sec to ensure saving session data (this step maybe not necessary) 5. Exit browser 6. Start Browser and Click "Restore Previous Session" Regression widnow(m-i) Good: https://hg.mozilla.org/integration/mozilla-inbound/rev/72f6354159d5 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 ID:20140820124716 Bad: https://hg.mozilla.org/integration/mozilla-inbound/rev/304619045d61 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 ID:20140820125117 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=72f6354159d5&tochange=304619045d61 In local build Last Good: 06d5e509cdb4 First Bad: d6bdd3272ccb Triggered by: d6bdd3272ccb Bill McCloskey — Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap)
Blocks: 1051017
Keywords: regressionwindow-wanted
Updated•10 years ago
|
Component: Session Restore → DOM: Content Processes
Product: Firefox → Core
Comment 7•10 years ago
|
||
str |
An easier STR is to start a normal build (non-e10s) and open an e10s window. If closing the e10s-window causes an error message in the console that says "aWindow.content is null" then sessionstore will fail too.
Comment 8•10 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #7) > An easier STR is to start a normal build (non-e10s) and open an e10s window. > If closing the e10s-window causes an error message in the console that says > "aWindow.content is null" then sessionstore will fail too. I think this seems to be a different problem. Please file a separate bug.
Flags: needinfo?(ttaubert)
Comment 9•10 years ago
|
||
It's not. Please take a look at comment #1. I can tell that this is exactly what prevents sessionstore from recording closed windows as closed.
Flags: needinfo?(ttaubert)
Assignee | ||
Comment 11•10 years ago
|
||
The second hunk is unrelated--I just wanted to fix a warning I was getting when the properties are undefined.
Comment 12•10 years ago
|
||
Comment on attachment 8479271 [details] [diff] [review] session-store-cpow Review of attachment 8479271 [details] [diff] [review]: ----------------------------------------------------------------- Ah, that was easier than I expected. Thanks!
Attachment #8479271 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 13•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9cfeb1314dc1
Comment 14•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9cfeb1314dc1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
tracking-e10s:
? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•