mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.23k stars 2.93k forks source link

[Tab tray refactor] YT video keeps playing after switching from normal to private browsing (and viceversa) #18712

Open DianaBarladeanu opened 9 months ago

DianaBarladeanu commented 9 months ago

Prerequisites

Go to FF secret settings ---> Experiments ---> enable “Rollout of tab tray refactor - iOS" feature.

Steps to reproduce

  1. In normal tabs tray, open Youtube and play a video.
  2. Switch to private browsing/synced tabs section and observe.

Expected behavior The YT video should stop playing when leaving normal tabs tray.

Actual behavior YT video keeps playing in background after leaving normal browsing mode and going to private browsing /synced tabs.

Device & build information

Notes The same issue occurs while playing a YT video in a private tab and switching to normal browsing mode. Attachments:

https://github.com/mozilla-mobile/firefox-ios/assets/133357955/6792989a-ef80-42b6-8c87-62db95e8b657

┆Issue is synchronized with this Jira Task

data-sync-user commented 8 months ago

➤ Norberto Andres Furlan commented:

I saw this issue before . Are we sure it is related with the refactor?

data-sync-user commented 6 months ago

➤ Alina Moldovan commented:

This issue still reproduces using FF v9000 (41668) and iPhone 15+ (17.4.1)

data-sync-user commented 5 months ago

➤ Norberto Andres Furlan commented:

This one is happening even without the tab tray refactor. It is not a regression. It is basically by design (because we have the undo). Orla Mitchell mentioned we can redesign tab management to solve this issue, but I won’t consider it a blocker to release Tab Tray. I will leave it open for now.