Closed
Bug 753625
Opened 14 years ago
Closed 14 years ago
Fennec can get into a session restore crash loop
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox14 fixed, blocking-fennec1.0 betaN+)
RESOLVED
FIXED
Firefox 15
People
(Reporter: bnicholson, Assigned: bnicholson)
References
Details
(Keywords: regression, Whiteboard: [has proposed patch])
Attachments
(1 file)
|
13.02 KB,
patch
|
mfinkle
:
review+
mfinkle
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This was originally fixed by bug 701092, but was regressed by bug 718240. We moved the restore logic into Java, which sets the forceRestore flag to true whenever we should restore. However, this doesn't distinguish between whether we crashed or are OOM-killed, and aForceRestore is always true here: http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/SessionStore.js#924.
Updated•14 years ago
|
Updated•14 years ago
|
blocking-fennec1.0: --- → ?
Updated•14 years ago
|
Assignee: nobody → bnicholson
blocking-fennec1.0: ? → betaN+
Summary: Fennec can crash loop → Fennec can get into a session restore crash loop
| Assignee | ||
Comment 2•14 years ago
|
||
Use tri-state session restore flag so we can still bail for crashes.
Attachment #623737 -
Flags: review?(mark.finkle)
Comment 3•14 years ago
|
||
Comment on attachment 623737 [details] [diff] [review]
patch
>diff --git a/mobile/android/base/GeckoThread.java b/mobile/android/base/GeckoThread.java
>+ GeckoThread (Intent intent, String uri, int restoreSession) {
nit: remove the space in "GeckoThread ("
>diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js
>- let forceRestore = false;
>+ let restoreType = 0;
nit: you use mRestoreSession in Java. Could we use "restoreSession" here? My next favorite name is "restoreMode"
Attachment #623737 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
Whiteboard: [has proposed patch]
| Assignee | ||
Comment 4•14 years ago
|
||
Changed instances of "restoreSession" to "restoreMode".
http://hg.mozilla.org/integration/mozilla-inbound/rev/b776bb82fb4a
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
Comment 6•14 years ago
|
||
Comment on attachment 623737 [details] [diff] [review]
patch
[Triage Comment]
Attachment #623737 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 7•14 years ago
|
||
Updated•14 years ago
|
status-firefox14:
--- → fixed
Updated•12 years ago
|
tracking-fennec: ? → ---
Updated•5 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
•