Re: [mediacapture-screen-share] Should top-level transient activation be sufficient for `getDisplayMedia()` on cross-origin iframes with allow="display-capture"? (#167)

> Though now I'm curious, can an iframe doc get transient activation without its top-level doc also getting it?

No, a user interaction in an iframe [causes](https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model) active Windows of all, even cross-origin, ancestor browsing contexts have their timestamp updated, so all ancestor windows (including the top-level) always get transient activation when the iframe gets it.

-- 
GitHub Notification of comment by karlt
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/167#issuecomment-820781569 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 15 April 2021 22:54:36 UTC