← Back to release summary

Document picture-in-picture: propagate user activation

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 127)
Intent stage
None

Summary

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.

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.

Standards & signals

Docs: https://docs.google.com/document/d/1vtjK3iMEAjcfDCu-qZOYg2zAtTbhohmCX77T1Eu3usQ/edit?usp=sharing

Samples: https://steimelchrome.github.io/document-pip/user-gesture.html

View on chromestatus.com