Crash when restoring tab with no session data

RESOLVED FIXED

Status

()

--
critical
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: bnicholson, Assigned: bnicholson)

Tracking

({crash})

unspecified
All
iOS
crash

Firefox Tracking Flags

(fxios+)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
STR:
1) Click the add tab button.
2) Quickly close the browser before the tab is added.
3) Open the browser.

Crashes on this line, due to empty history: https://github.com/mozilla/firefox-ios/blob/7d1249cbe3dc18ddd58c5d689046d0f11e1ca0d0/Client/Frontend/Browser/Browser.swift#L53
Severity: normal → critical
Keywords: crash
(Assignee)

Comment 1

3 years ago
Created attachment 8643841 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/865
Attachment #8643841 - Flags: review?(rnewman)
Attachment #8643841 - Flags: review?(rnewman) → review+
tracking-fxios: ? → +
(Assignee)

Comment 2

3 years ago
https://github.com/mozilla/firefox-ios/commit/6f45331bdf6b841308f8b989a0b092059ba55d88
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.