Automatic update from web-platform-tests[Picture-in-Picture] Add PictureInPictureWindow width and height stubs
This introduces PictureInPictureWindow interface with |width| and
|height| attributes. |onresize| event will follow in an upcoming CL.
|width| and |height| simply return fake values, respectively 500 and
300, for now as we don't have any resize events coming from the backend
yet. They are reset to 0 though when PictureInPictureWindow state is
closed.
Bug: 806249
Change-Id: I5e0f0875a53b7f659bc3469e562d3db5e075f31d
Reviewed-on: https://chromium-review.googlesource.com/899347
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: apacible <apacible@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536520}
wpt-commits: e9ffe0be14f695ad5fb0aa104bbddbcc88712f56
wpt-pr: 9370
wpt-commits: e9ffe0be14f695ad5fb0aa104bbddbcc88712f56
wpt-pr: 9370
Automatic update from web-platform-tests[Picture-in-Picture] Add Shadow DOM support for pictureInPictureElement
Until now, pictureInPictureElement was supported only in Document. This
CL makes it compliant with the spec by adding Shadow DOM support to
pictureInPictureElement. Note that I wish I could have used a partial
interface DocumentOrShadowRoot but partial interface for mix-in IDL are
not supported at that time (crbug.com/656517).
Bug: 806249, 656517
Change-Id: I5f9666ea9c52ded9a6d07a238fc7756371b7550e
Reviewed-on: https://chromium-review.googlesource.com/897513
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: apacible <apacible@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535747}
wpt-commits: 92d49351bff2af43398743e7581d60b5bcaf0af5
wpt-pr: 9387
wpt-commits: 92d49351bff2af43398743e7581d60b5bcaf0af5
wpt-pr: 9387
Automatic update from web-platform-tests[Picture-in-Picture] Add test for consuming user gesture.
This merge all request Picture-in-Picture tests into one test file and
adds one test to make sure user gesture is consumed by request
Picture-in-Picture so that a site couldn't produce a popup and a video
played in Picture-in-Picture on the same gesture.
Bug: 806249
Change-Id: Id974342b5cb48c1b60a44074d41603e93d2192e7
Reviewed-on: https://chromium-review.googlesource.com/909148
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: apacible <apacible@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535694}
wpt-commits: 700a6babcf73e785fb479cc8fa253954f59bd1bb
wpt-pr: 9439
wpt-commits: 700a6babcf73e785fb479cc8fa253954f59bd1bb
wpt-pr: 9439