Make sure page visibility interacts accordingly to Picture-in-Picture spec |
|
Issue descriptionThe Page-Visibility specification defines a visibilityState attribute used to determine the visibility state of a top level browsing context. For the purpose of Picture-in-Picture, the visibilityState MUST always return "visible" when pictureInPictureElement is set and the Picture-in-Picture window is visible. Please add web platform tests for this as well if possible.
,
Oct 24
We need to add tests for Desktop as well.
,
Oct 25
Regarding web platform tests, it looks like we need a test driver API to minimize window in order to test page visibility API behaviour. See https://github.com/web-platform-tests/wpt/issues/10666 and https://github.com/web-platform-tests/wpt/pull/10751 ``` Closed CL (not merged) has most of the work is done already But we'll probably have to repeat some changes for ExecutorWebDriver, which we use for Chrome now, and it landed after these PRs were created. ```
,
Dec 7
An issue has been opened regarding these changes: https://github.com/WICG/picture-in-picture/issues/110 |
|
►
Sign in to add a comment |
|
Comment 1 by mlamouri@chromium.org
, Oct 24Owner: mlamouri@chromium.org