Closed Bug 598526 Opened 14 years ago Closed 14 years ago

regression: After opening a link from another app, back button should go back to that app

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(fennec2.0b2+)

VERIFIED FIXED
Tracking Status
fennec 2.0b2+ ---

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Steps to reproduce:
0. Set Fennec as your default browser.
1. Open Fennec.
2. Switch to another app like Twitter or GMail.
3. In the other app, open a link in Fennec.
4. Press back.

Expected results: The previous app is brought back to the front.

Actual results: The new tab is closed, and Fennec remains in the foreground.

This used to work but it has regressed, possibly by my patch in bug 515409.
Attachment #477366 - Flags: review?(mark.finkle)
Attached patch patch v2Splinter Review
Fixed a bug in the previous patch.
Attachment #477366 - Attachment is obsolete: true
Attachment #477372 - Flags: review?(mark.finkle)
Attachment #477366 - Flags: review?(mark.finkle)
Blocks: 598533
Comment on attachment 477372 [details] [diff] [review]
patch v2


>-      win.browserDOMWindow.openURI(uris[i], null, Ci.nsIBrowserDOMWindow.OPEN_NEWTAB, null);
>+      win.browserDOMWindow.openURI(uris[i], null, Ci.nsIBrowserDOMWindow.OPEN_NEWTAB,
>+                                   Ci.nsIBrowserDOMWindow.OPEN_EXTERNAL);

No need to wrap

I don't think this would affect unit tests, but we can cross that bridge later.
Attachment #477372 - Flags: review?(mark.finkle) → review+
tracking-fennec: --- → 2.0b1+
tracking-fennec: 2.0b1+ → 2.0b2+
Whiteboard: [fennec-checkin-postb1]
pushed:
http://hg.mozilla.org/mobile-browser/rev/abaf7a379574
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fennec-checkin-postb1]
verified FIXED on build:

Mozilla/5.0 (android Linux armv7l; rv:2.0b7pre) Gecko/20101029 Firefox/4.0b8pre Fennec/4.0b2
Status: RESOLVED → VERIFIED
Flags: in-litmus?(ayanshah62)
https://litmus.mozilla.org/show_test.cgi?id=13821
Flags: in-litmus?(ayanshah62) → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: