[w3c/clipboard-apis] Parallelism and task sources (Issue #202)

A few related comments:

- the `read()` algorithm verifies permissions "in parallel", which is, AFAIU, a deprecated way to describe parallelism. Presumably this should be done on the permissions task source, so the "in parallel" should instead be a task queued on the permission task source.
- the reference to the permission task source should link to [it](https://www.w3.org/TR/permissions/#permissions-task-source)
- I suspect the "Let data be a copy of the system clipboard data" should also be run on the clipboard task source, instead of just "in parallel", so as to prevent races (since `write()` place data on the system clipboard on the clipboard task source).
- The spec says "The clipboard task source is triggered in response to reading or writing of [system clipboard data](https://www.w3.org/TR/clipboard-apis/#system-clipboard-data)." What does "is triggered in response to" mean? The idiomatic verbiage seems to be "The foo task source is a task source used to perform foo-related tasks".

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/202
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/issues/202@github.com>

Received on Tuesday, 12 December 2023 00:42:58 UTC