Re: [w3c/clipboard-apis] Use new HTML activation model (#108)

@dway123 commented on this pull request.

Besides my one comment, this lgtm.

That said, this already merged, so maybe this should be submitted as a separate change.

> @@ -1053,8 +1053,8 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn;
    <code>{ name: "clipboard-write", allowWithoutGesture: true }</code>
    permission.
 
-  1. Let |hasGesture| be true if the current script is not running as a result of
-   direct user action, false otherwise.
+  1. Let |hasGesture| be true if the [=relevant global object=] of [=this=]
+      has [=transient activation=], false otherwise.
 
   1. If |writeWithoutGesture| is <a>granted</a>, then return true.

This should be before the previous step, to correspond with the previous instance of this in lines 1020-1024

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/108#pullrequestreview-432798553

Received on Wednesday, 17 June 2020 21:44:56 UTC