Closed Bug 873746 Opened 11 years ago Closed 3 years ago

Opening URI that launches an app leaves a blank tab

Categories

(Firefox for Android Graveyard :: General, defect)

22 Branch
All
Android
defect
Not set
normal

Tracking

(firefox22 affected, firefox23 affected, firefox24 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox22 --- affected
firefox23 --- affected
firefox24 --- affected

People

(Reporter: FranklinWhale, Unassigned)

Details

(Keywords: reproducible, testcase)

Attachments

(1 file)

Attached file Test page
User Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

Steps to reproduce:

Click on a link having target=_blank with href=a custom URI that launches an app


Actual results:

A blank window (about:blank) remains after the app is launched


Expected results:

No blank window (about:blank) remains after the app is launched
OS: Windows 7 → Android
Hardware: x86_64 → All
See also bug 826325
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(wjohnston)
Attachment #751321 - Attachment mime type: text/plain → text/html
This is unrelated to 826325. I can think of some hacky ways to fix this, but I wonder if the platform has something better. Gavin, can you point me at anything?
Flags: needinfo?(wjohnston) → needinfo?(gavin.sharp)
Reminds me of bug 241972. The mShouldCloseWindow logic in nsExternalHelperAppService.cpp should be calling close() on the tab's window in this case. Does that not close the tab in Fennec, for some reason? Or is that code not being hit here?
Flags: needinfo?(gavin.sharp)
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: