Closed Bug 1204424 Opened 9 years ago Closed 7 years ago

Previous tabs are killed when choosing to open external link from Facebook chat

Categories

(Firefox for Android Graveyard :: General, defect)

43 Branch
ARM
Android
defect
Not set
normal

Tracking

(platform-rel +, firefox43 affected, firefox51 verified, firefox52 verified, firefox53 verified)

RESOLVED WORKSFORME
Tracking Status
platform-rel --- +
firefox43 --- affected
firefox51 --- verified
firefox52 --- verified
firefox53 --- verified

People

(Reporter: TeoVermesan, Assigned: maliu)

Details

(Whiteboard: [platform-rel-Facebook])

Attachments

(1 file)

Steps to reproduce:

1. Open Nightly with a clean profile
2. Go to a page: gmail.com  
3. Go to facebook chat and choose from a conversation a link (espn.go.com)
4. Choose to open with Nightly

Actual results:
1. If you chose before to always open with Nightly:
- The tab (espn.go.com) begins to load (2 tabs appear in nightly)
- Nightly closes
- Nightly appears in task manager and when choosing to open it, there is only one tab with espn.go.com
- Looking in history: gmail.com appears

video:
https://www.youtube.com/watch?v=0BTaOLdSt_c&feature=youtu.be

2.If you choose to open with Nightly "Just once"
- Nightly becomes blank and closes
- Nightly appears in task manager and when choosing to open it, there is only one tab with espn.go.com
- Looking in history: gmail.com appears

video: https://www.youtube.com/watch?v=PZPfDuJRSsA&feature=youtu.be

Note:
= not reproducible when opening external links with twitter, gmail etc
Whiteboard: [platform-rel-Facebook]
platform-rel: --- → ?
platform-rel: ? → +
Rank: 90
snorp, does this look like Fennec is being OOM-killed?
Flags: needinfo?(snorp)
It looks like bug 1280112 may be a dupe (or this is a dupe of it) of comment 0. What do you think?
Flags: needinfo?(teodora.vermesan)
Maybe session restore related?
Flags: needinfo?(snorp) → needinfo?(s.kaspari)
Flags: needinfo?(s.kaspari)
If this is still reproducible, please include a log after turning on |browser.sessionstore.debug_logging| and restarting Firefox.
I was able to reproduce this and I think bug 1280112 fixes that. Can you retry with the latest Nightly build?

Background: Facebook was sending an Intent with flags to start a new task and clear it. For our BrowserApp the singleTask flag is set, so normally nothing would happen. However our LauncherActivity is copying the flags to the Intent to start BrowserApp and clears the task (maybe the session gets lost here?) - This is fixed in bug 1280112 and we remove those flags from incoming intents before starting BrowserApp.
I cannot reproduce this on latest Nightly using Alcatel One Touch (Android 4.1.2).
But I still see 2 Nightly instances in task manager
Flags: needinfo?(teodora.vermesan)
(In reply to Teodora Vermesan (:TeoVermesan) from comment #6)
> But I still see 2 Nightly instances in task manager

This should be gone after bug 1289140 lands.
Is this still an issue now after bug 1289140 landed?
Flags: needinfo?(teodora.vermesan)
Flags: needinfo?(teodora.vermesan) → needinfo?(ioana.chiorean)
Hello,

I've tested this issue on a HTC Deside 820 (Android 6.0.1) and it is not reproducible.
Flags: needinfo?(ioana.chiorean)
Assignee: nobody → max
Looks like this can be closed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
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

Created:
Updated:
Size: