WICG / document-picture-in-picture

https://wicg.github.io/document-picture-in-picture/
Other
56 stars 9 forks source link

Propagate user activation to the opener window #117

Closed steimelchrome closed 2 months ago

steimelchrome commented 5 months ago

This makes user activations in the document picture-in-picture window usable inside the opener window. This makes it more ergonomic to use user-activation-gated APIs, since often event handlers in the document PiP window are actually run in the opener's context, so the opener's context needs access to the user gesture.

beaufortfrancois commented 2 months ago

With https://chromestatus.com/feature/5185710702460928 shipping in Chrome 127, it would be nice to merge this PR.