Intent to Prototype: Document picture-in-picture: propagate user activation

97 views
Skip to first unread message

Tommy Steimel

unread,
Mar 19, 2024, 11:08:22 PMMar 19
to blink-dev

Contact emails

ste...@chromium.orglibe...@chromium.org

Explainer

None

Specification

https://github.com/WICG/document-picture-in-picture/pull/117

Summary

This makes user activations in a document picture-in-picture window usable inside its opener window. 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.



Blink component

Blink>Media>PictureInPicture

Motivation

This makes it more ergonomic to use user-activation-gated APIs in document picture-in-picture, 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.



Initial public proposal

None

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5185710702460928

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages