This enables `opener.focus()` from a document picture-in-picture window to bring system-level focus to the tab that owns the document picture-in-picture window. This allows developers to bring the original tab back to the foreground when necessary, e.g. when the user needs to access a more full UI/experience that doesn't fit in the smaller picture-in-picture window.
None
N/A
N/A
While allowing the picture-in-picture window to bring system-level focus to the opener tab at will could be abused, the user gesture requirement effectively ensures that the user is at least currently interacting with that website and not another, so is less likely to be surprised or tricked by the change of focus to another window from the same origin.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
N/A
N/A
The document picture-in-picture API is not supported on Android
document-picture-in-picture/focus-opener.https.html
Small change to existing API
Shipping on desktop | 123 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
None expected--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAE-AwApDdgkBjOAQ0bXU-Y7wFe0qp6jOr%2Bv929%3DzJ-RL_x%3D%2BPA%40mail.gmail.com.
Contact emailsste...@chromium.org, liberato@chromium.org
ExplainerNone
Specificationhttps://github.com/WICG/document-picture-in-picture/pull/109
SummaryThis enables `opener.focus()` from a document picture-in-picture window to bring system-level focus to the tab that owns the document picture-in-picture window. This allows developers to bring the original tab back to the foreground when necessary, e.g. when the user needs to access a more full UI/experience that doesn't fit in the smaller picture-in-picture window.
Blink componentBlink>Media>PictureInPicture
TAG reviewN/A as this is a minor change to the behavior of an existing API
TAG review statusNot applicable
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/6313015987404800
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAE-AwAq9NirpNhP%2BcFO8w0oBZhdz6JJ1rUJVd94gyx9Gd8Zt2Q%40mail.gmail.com.
LGTM3
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSJxYVk2esk__uLWYHnKA3mEuQm7kvbjhqShnCkfRi5_%3DQ%40mail.gmail.com.