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.
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.