Closed Bug 2058283 Opened 2 months ago Closed 2 months ago

Navigating back in a custom tab closes a video in picture-in-picture mode

Categories

(Focus :: General, defect)

All
Android
defect

Tracking

(firefox153 wontfix, firefox154 wontfix, firefox155 fixed)

RESOLVED FIXED
155 Branch
Tracking Status
firefox153 --- wontfix
firefox154 --- wontfix
firefox155 --- fixed

People

(Reporter: jonalmeida, Assigned: jonalmeida)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 external file)

Prerequisite

  • Make Focus your default browser.

Steps to reproduce

  1. Navigate to youtube.com.
  2. Start playing a video, make it fullscreen and press the home button, in order to put the video into PIP mode.
  3. Go into another app that opens links in a custom tab (e.g. Gmail).
  4. Click a link there.
  5. When the page starts loading (or finishes loading), navigate back.
  6. Observe the PIP window.

Expected results

  • The PIP video should continue playing.

Actual results

  • The PIP window is closed.

Additional information

  • See attached video.
  • Reproduced on Pixel 8a, Android 16.
  • This is reproducible on 153 and 155 (nightly).

This is an S2 because it leads to data loss without any recoverable options or workarounds.

Severity: -- → S2

From a mozregression:

Newest known good nightly: 2024-08-20
Oldest known bad nightly: 2024-08-21

Found the regressor.

The commenting out the one-liner fixes this bug and interesting also doesn't reproduce the original bug that the patch was solving, so something else in the system has changed to cover this case.

Assignee: nobody → jonalmeida942
Status: NEW → ASSIGNED
Keywords: regression
Regressed by: CVE-2024-9391

The regressor bug's STR do not seem to reproduce the bug anymore, so its
possible that another part of the system covers this case. In any case,
we can fix our bug by providing the tabId for the session we want to
exit instead of using default that closes the custom tab and the
selected tab at the same time.

Set release status flags based on info from the regressing bug 1892407

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

The patch landed in nightly and beta is affected.
:jonalmeida, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jonalmeida942)

The bug has existed for almost a year, at this point, we can allow it to ride the trains.

Flags: needinfo?(jonalmeida942)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: