Closed
Bug 791051
Opened 12 years ago
Closed 12 years ago
Session restore won't fail if there are no tabs in JSON
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 affected, firefox16 verified, firefox17 fixed, firefox18 verified)
VERIFIED
FIXED
Firefox 18
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
Attachments
(1 file)
1.01 KB,
patch
|
mfinkle
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
lsblakk
:
approval-mozilla-release-
|
Details | Diff | Splinter Review |
I ran into this while trying the STR in bug 789867: 1) Open Fennec 2) Go to any page 3) Push home and OOM Fennec 4) Reopen Fennec 5) While Fennec is loading, repeatedly hit the stop button to prevent the page from loading 6) Once the throbber has stopped and at a blank screen, push home and OOM Fennec again 7) Reopen Fennec This results in the following sessionstore state: {"windows":[{"tabs":[],"selected":1,"closedTabs":[]}]} which happens because we clear the session data at startup, and we stopped the restored tab from loading, so no tabs get added. After step 7 above, the throbber spins endlessly and nothing loads in the browser. We should make sure there's at least one tab being restored.
Attachment #660916 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•12 years ago
|
status-firefox15:
--- → affected
status-firefox16:
--- → affected
status-firefox17:
--- → affected
status-firefox18:
--- → affected
Updated•12 years ago
|
Attachment #660916 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 1•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/9a7b25bc580e
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 660916 [details] [diff] [review] Make sure tab exists for session restore [Approval Request Comment] Regression caused by (bug #): User impact if declined: Startup could hang (the throbber loops forever and the user can't load any pages) Testing completed (on m-c, etc.): just landed Risk to taking this patch (and alternatives if risky): very low
Attachment #660916 -
Flags: approval-mozilla-release?
Attachment #660916 -
Flags: approval-mozilla-beta?
Attachment #660916 -
Flags: approval-mozilla-aurora?
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9a7b25bc580e
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Updated•12 years ago
|
status-firefox18:
affected → ---
Comment 4•12 years ago
|
||
Setting status-firefox18 to fixed - Scoobidiver we are going to rely on status flags more than Target Milestones in the future so the best practice is not to clear a flag, but to set to fixed.
status-firefox18:
--- → fixed
Updated•12 years ago
|
Attachment #660916 -
Flags: approval-mozilla-beta?
Attachment #660916 -
Flags: approval-mozilla-beta+
Attachment #660916 -
Flags: approval-mozilla-aurora?
Attachment #660916 -
Flags: approval-mozilla-aurora+
Comment 5•12 years ago
|
||
Comment on attachment 660916 [details] [diff] [review] Make sure tab exists for session restore We're not re-building 15 for this so minus on mozilla-release approval request.
Attachment #660916 -
Flags: approval-mozilla-release? → approval-mozilla-release-
Assignee | ||
Comment 6•12 years ago
|
||
http://hg.mozilla.org/releases/mozilla-aurora/rev/7328213574c2
Assignee | ||
Comment 7•12 years ago
|
||
http://hg.mozilla.org/releases/mozilla-beta/rev/0d33f954ee14
Updated•12 years ago
|
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•