Re: [w3c/permissions] Clearly require use of 'permission state' to be 'in parallel' (Issue #453)

If the algorithm needs to run "in parallel", it would be useful to add a first "[Assert](https://infra.spec.whatwg.org/#assert): this is running [in parallel](https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel)." step, as done in a few algorithms, e.g., [attempt to populate the history entry's document in HTML](https://html.spec.whatwg.org/multipage/browsing-the-web.html#attempt-to-populate-the-history-entry's-document).

The statement has no implications for implementations, but would make it clear to spec authors who need to call the algorithm that it needs to be called within "in parallel" steps. It would also make it possible to detect hiccups automatically afterwards (Strudy does not follow algorithms just yet, but hopefully will in some not too distant future!).


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/453#issuecomment-2342856547
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/issues/453/2342856547@github.com>

Received on Wednesday, 11 September 2024 07:21:51 UTC