This makes user activations in a document picture-in-picture window usable inside its opener window and vice versa. This makes it more ergonomic to use user-activation-gated APIs, since often event handlers in the document picture-in-picture window are actually run in the opener's context, so the opener's context needs access to the user gesture.
None
This should improve the ergnomics of user-activation-gated APIs in document picture-in-picture windows, as the website no longer needs to ensure that the user gesture occurred in the same context as the code that is calling the API.
N/A
One potential risk is that the website could use the same gesture as two gestures (by using it in the opener and in the picture-in-picture window). We mitigate this by ensuring that consuming user activation in one uses it in the other.
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
Document picture-in-picture is only available on desktop platforms
document-picture-in-picture/propagate-user-activation-from-opener.https.html document-picture-in-picture/propagate-user-activation-to-opener.https.html
Shipping on desktop | 126 |
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).
N/ALGTM2
/Daniel
--
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/8e5d025d-9351-47d4-a79a-f7f23c88851dn%40chromium.org.
LGTM3
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3c9e93d2-82d4-474a-8677-e12e69499a1a%40sarasas.se.