Closed
Bug 1208505
Opened 10 years ago
Closed 10 years ago
Don't show crash recovery prompt if there are no tabs to recover
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| fxios | 1.1+ | --- |
People
(Reporter: rnewman, Assigned: sleroux)
References
Details
Attachments
(1 file)
I just got an "Oops" prompt after upgrade. I had no non-home tabs open. Choosing to restore got me… about:home.
We shouldn't show a dialog in this case.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → sleroux
| Assignee | ||
Comment 1•10 years ago
|
||
Resolved with: https://github.com/mozilla/firefox-ios/commit/df2f79df1fe9223cca909dc8c7154e8ce5653257
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 2•10 years ago
|
||
Oops wrong bug - meant to update https://bugzilla.mozilla.org/show_bug.cgi?id=1207593
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8670430 -
Flags: review?(rnewman)
| Assignee | ||
Comment 4•10 years ago
|
||
Updated patch with review comments + Array extension extraction.
Also, I tested this by creating a ObjC class that has a single static method called 'crash' which @throws an NSException to trigger an uncaught exception. I added this to the addTab button call so the app would crash whenever I opened a new tab. I tried:
1. 5 Open tabs with various histories = shows prompt
2. 1 tab with history = shows prompt
3. 1 tab with no history = no prompt
4. 2 tabs with no history = no prompt
| Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8670430 [details] [review]
https://github.com/mozilla/firefox-ios/pull/1131
I'd love for the tiny change to BVC that actually fixes the bug to be in a separate commit, with the rest being "Pre" or "Part 0". It's hard to tell from the PR which part is important!
Attachment #8670430 -
Flags: review?(rnewman) → review+
| Assignee | ||
Comment 6•10 years ago
|
||
I've cleaned up the commits to be Pre: and Part with Part 1 containing the actual bug fix.
| Assignee | ||
Comment 7•10 years ago
|
||
Merged
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•