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

Normative text on how the sender frame relinquishes the capability #24

Open mustaqahmed opened 2 years ago

mustaqahmed commented 2 years ago

This was originally reported in Chrome intent thread:

We need to expand more on the relinquishing aspect and how regaining the capability happens. We don't have any normative text in the spec that explains how it happens.

miketaylr commented 2 years ago

Thanks for filing @mustaqahmed!

zcorpan commented 7 months ago

So delegation should also consume the user activation, right?

That happens as the last step in https://wicg.github.io/capability-delegation/spec.html#monkey-patch-to-html-initiating-delegation