WICG / capability-delegation

An API to allow developers transfer the ability to use restricted APIs to any target window in the frame tree.
Other
14 stars 7 forks source link

Why consumption of user gesture in targetWindow #13

Closed annevk closed 2 years ago

annevk commented 3 years ago

It seems to me that in https://wicg.github.io/capability-delegation/spec.html#monkey-patch-to-html-initiating-delegation you want to consume the gesture in incumbentSettings's global or some such. That's the window that is transferring its activation, right?

(Also, if you change an existing variable you cannot use let, you need to use set. See https://infra.spec.whatwg.org/#variables.)