Closed
Bug 800238
Opened 12 years ago
Closed 12 years ago
NPE when showing solicitation at startup
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
Attachments
(1 file)
1.23 KB,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
When testing OOMs and session restores, I hit a NPE at this line in the solicitation code: Tabs.getInstance().loadUrlInTab("about:feedback"); loadUrlInTab() calls getSelectedTab(), which is null at startup since there aren't any tabs yet. Given the comments in bug 774479, it sounds like this wasn't designed to be shown at startup, but there are cases where this can happen; namely, if starting after an OOM kill (see https://bugzilla.mozilla.org/show_bug.cgi?id=731333#c3). Adding an initialization check here prevents the solicitation from appearing in this case.
Attachment #670229 -
Flags: review?(margaret.leibovic)
Comment 1•12 years ago
|
||
Comment on attachment 670229 [details] [diff] [review] Don't show feedback solicitation before initialization Sounds reasonable to me. Good catch.
Attachment #670229 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 2•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/23a938b18570
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/23a938b18570
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
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
•