- From: snianu <notifications@github.com>
- Date: Tue, 31 Oct 2023 14:30:58 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 31 October 2023 21:31:03 UTC
@snianu commented on this pull request. > 1. Let |realm| be [=this=]'s [=relevant realm=]. 1. Let |p| be [=a new promise=] in |realm|. + 1. Let |format| be a {{DOMString}}. + + 1. If |formats| is not empty, then: + + 1. If |formats|'s size is greater than 1, then [=reject=] |p| with {{"NotAllowedError"}} {{DOMException}} in |realm|. + + 1. Set |format| to |formats|[0]. + + 1. If |format| is not [=unsanitized mime types=], then [=reject=] |p| with {{"NotAllowedError"}} {{DOMException}} in |realm|. Done. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/197#discussion_r1378184507 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/197/review/1707269975@github.com>
Received on Tuesday, 31 October 2023 21:31:03 UTC