Closed Bug 1526617 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 15247 - Do not require user gesture if pictureInPictureElement is set

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15247 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15247
Details from upstream follow.

François Beaufort <beaufort.francois@gmail.com> wrote:

Do not require user gesture if pictureInPictureElement is set

Following https://github.com/WICG/picture-in-picture/issues/116, it
would be great to allow video to enter Picture-in-Picture without user
activation if there's already a visible PiP window in the context of the
document, in other words if document.pictureInPictureElement is set.

Bug: 928697
Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575
Reviewed-on: https://chromium-review.googlesource.com/c/1454360
Commit-Queue: François Beaufort \<beaufort.francois@gmail.com>
Reviewed-by: Mounir Lamouri \<mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630026}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 2 subtests
OK     : 1
FAIL   : 2

New tests that have failures or other problems:
/picture-in-picture/request-picture-in-picture-twice.html
    request Picture-in-Picture does not require user gesture if document.pictureInPictureElement is set: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2f27bcbec486
[wpt PR 15247] - Do not require user gesture if pictureInPictureElement is set, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a8d89e21632
[wpt PR 15247] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/eed8064109e8
[wpt PR 15247] - Do not require user gesture if pictureInPictureElement is set, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/9b289784c5d1
[wpt PR 15247] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.