Re: [w3c/clipboard-apis] Add clipboard IDL description. (#158)

@snianu commented on this pull request.



>    <div class="algorithm" data-algorithm="clipboard-read">
   <h4 method for="Clipboard">read()</h4>
   The {{Clipboard/read()}} method must run these steps:
 
-   1. Let |p| be a new [=Promise=].
+   1. Let |realm| be [=this=]'s [=relevant realm=].
+
+   1. Let |p| be [=a new promise=] in |realm|.
 
    1. Run the following steps [=in parallel=]:
 
     1. Let |r| be the result of running [=check clipboard read permission=] [=in parallel=]

Done.

-- 
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/158#discussion_r748614302

Received on Friday, 12 November 2021 22:12:11 UTC