Bug 1704278 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

"When a user interaction in a browsing context B causes firing of an activation triggering input event in B's active document D", the only "descendant browsing contexts of D" that get "last activation timestamp" set are those ["that have active documents from the same origin as that of D."](https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model)

So transient activation only crosses origins into ancestor browsing contexts.
For `getDisplayMedia()` in a cross-origin iframe, the spec requires user interaction in that iframe or one of its descendant browsing contexts.
"When a user interaction in a browsing context B causes firing of an activation triggering input event in B's active document D", the only "descendant browsing contexts of D" that get "last activation timestamp" set are those ["that have active documents from the same origin as that of D."](https://html.spec.whatwg.org/multipage/interaction.html#activation-notification)

So transient activation only crosses origins into ancestor browsing contexts.
For `getDisplayMedia()` in a cross-origin iframe, the spec requires user interaction in that iframe or one of its descendant browsing contexts.

Back to Bug 1704278 Comment 7