Do not allow Picture-in-Picture via the context menu on a video that has not loaded anything yet
Categories
(Toolkit :: Video/Audio Controls, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | verified |
People
(Reporter: padenot, Assigned: popeoliv)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 3 obsolete files)
STR:
- Load the test case
- Put the video in pip mode via the right click
- Click the first button, this loads the media, you should see the element changing size
- Click the second button
Expected:
- The media plays in the PiP window
Actual:
- The PiP window is small and the video isn't displayed there anyways
| Reporter | ||
Updated•1 year ago
|
Hm. I suspect we probably shouldn't be allowing the user to Picture-in-Picture a non-video, like what the testcase starts with.
Is PiP'ing an empty video a prerequisite for reproducing this bug?
Comment 2•1 year ago
|
||
Per comment1, so maybe we should disable the option of PIP when the media element hasn't loaded any data yet.
| Reporter | ||
Comment 3•1 year ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)
Hm. I suspect we probably shouldn't be allowing the user to Picture-in-Picture a non-video, like what the testcase starts with.
Is PiP'ing an empty video a prerequisite for reproducing this bug?
This media file has a video track. The steps are all necessary to reproduce. The HTMLVideoElement has an empty src when activating PiP, yes.
Comment 4•1 year ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 5•4 months ago
|
||
| Assignee | ||
Comment 6•4 months ago
|
||
Depends on D102864
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 7•4 months ago
|
||
Depends on D102865
| Assignee | ||
Comment 8•4 months ago
|
||
Depends on D102866
| Assignee | ||
Comment 9•4 months ago
|
||
Depends on D102867
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 10•4 months ago
|
||
Pushed by mhowell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d8ed4244d23 added check for readyState in nsContextMenu to see if PiP should display r=mtigley,mhowell https://hg.mozilla.org/integration/autoland/rev/375506876a81 removed PiP from browser_contextmenu tests r=mhowell
Comment 11•4 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3d8ed4244d23
https://hg.mozilla.org/mozilla-central/rev/375506876a81
Updated•4 months ago
|
Comment 12•4 months ago
|
||
I've reproduced this issue on an affected Nightly build from 2020-04-01, using the steps from comment 0.
Picture-in-Picture is not displayed anymore on the latest Beta 86.0b3, across OSs: Win 10 x64, macOS 10.15 and Ubuntu 18.04 x64.
Description
•