Currently when one launches the same application (as is currently running in a separate tab) in about:apps, a new tab is created. STR: i) https://apps.mozillalabs.com/appdir/ -- install any app ii) about:apps, launch app (new tab is created) Repeat ii., a new tab is created. Shouldn't it reuse the existing tab? -- Nightly (04/16) Samsung Galaxy Nexus (Android 4.0.4)
I believe this was working when the first about:apps patch landed (reuse of the existing tab). Flagging as a regression.
Implementation of this bug needs to be consistent with bug 745745.
Created attachment 615384 [details] [diff] [review] patch The problem was the WebappsUI.openURL code was using aOrigin as the "cookie" but the homescreen intent was using the launch URI. This patch makes the WebappsUI.openURL code use the excact same code as the homescreen intent. Both paths use the launch URI as the "cookie" to tag a tab.
Note for testing - Make sure this is tested by launching the same application twice both from about:apps and from a homescreen shortcut.
soft blocking nom. fixes launch behavior for webapps.
Verified Fixed Nightly (04/29) Samsung Galaxy Note (Android 2.3), Samsung Galaxy Nexus (Android 4.0.4)