Closed
Bug 723349
Opened 14 years ago
Closed 14 years ago
Fix params in addTab on session restore failure
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox11 fixed, firefox12 fixed, firefox13 fixed)
VERIFIED
FIXED
Firefox 13
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
Attachments
(1 file)
|
1.15 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
>diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js
> // Be ready to handle any restore failures by making sure we have a valid tab opened
> let restoreCleanup = {
> observe: function(aSubject, aTopic, aData) {
> Services.obs.removeObserver(restoreCleanup, "sessionstore-windows-restored");
> if (aData == "fail") {
> let params = { selected: restoreToFront };
> BrowserApp.addTab("about:home", { showProgress: false });
> }
The params variable isn't used here (looks like I forgot to pass it to addTab in bug 592328).
| Assignee | ||
Comment 1•14 years ago
|
||
CC'ing margaret since she added the showProgress param.
| Assignee | ||
Comment 2•14 years ago
|
||
Remove "params" variable and add "selected" to addTab() params.
Attachment #593655 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Attachment #593655 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Landed on inbound:
http://hg.mozilla.org/integration/mozilla-inbound/rev/252293f10484
| Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 593655 [details] [diff] [review]
patch
[Approval Request Comment]
Fixes bug where externally loaded URL may not be selected if doing a session restore. Low risk.
Attachment #593655 -
Flags: approval-mozilla-beta?
Attachment #593655 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 5•14 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #0)
> The params variable isn't used here (looks like I forgot to pass it to
> addTab in bug 592328).
Erm, that's bug 701092. Slightly off.
Comment 6•14 years ago
|
||
Comment on attachment 593655 [details] [diff] [review]
patch
[Triage Comment]
Mobile only - approved for Aurora 12 and Beta 11.
Attachment #593655 -
Flags: approval-mozilla-beta?
Attachment #593655 -
Flags: approval-mozilla-beta+
Attachment #593655 -
Flags: approval-mozilla-aurora?
Attachment #593655 -
Flags: approval-mozilla-aurora+
Comment 7•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Comment 8•14 years ago
|
||
Updated•14 years ago
|
Comment 9•14 years ago
|
||
Comment 10•14 years ago
|
||
Verified fixed on:
Firefox 13.0a1 (2012-02-06)
20120206031148
http://hg.mozilla.org/mozilla-central/rev/814d0b2dbaba
Device: HTC Desire Z
OS: Android 2.3.3
Firefox 12.0a2 (2012-02-06)
20120206042011
http://hg.mozilla.org/releases/mozilla-aurora/rev/9fb0c06ceb49
Device: HTC Desire Z
OS: Android 2.3.3
Firefox 11.0
20120206202409
http://hg.mozilla.org/releases/mozilla-beta/rev/1c0aba74d116
Device: HTC Desire Z
OS: Android 2.3.3
Status: RESOLVED → VERIFIED
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
•