Closed Bug 1631303 Opened 6 years ago Closed 6 years ago

PiP controls can break (macOS, release) - clicking blue PiP indicator on BBC iPlayer video did not show player (playerWin is null)

Categories

(Toolkit :: Video/Audio Controls, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: Gijs, Assigned: mconley)

References

Details

Attachments

(1 file)

My partner hit this earlier in the weekend (when bmo was down). Unclear what caused it to happen; restarting Firefox fixed things. But the console showed that we were hitting:

https://searchfox.org/mozilla-central/rev/35f2245f17841db50820221f3838ec55744cccd1/toolkit/components/pictureinpicture/PictureInPicture.jsm#143

and playerWin was null, so the if condition threw. Presumably the weakref can (or could, if this is fixed in 76/77) return null? That seems reasonable for a weakref, but the code doesn't seem to catch that case...

Assignee: nobody → mconley
Priority: -- → P1
See Also: → 1633272
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2eabb1ec039 Properly handle the case where the PiP player window weakref returns null. r=Gijs
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77

Hello,
are there any STR that manual QA can use to verify this? Thank you!

Flags: needinfo?(mconley)

I don't believe so, no - it was very intermittent and hard to reproduce reliably.

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

Attachment

General

Created:
Updated:
Size: