Re: [w3c/screen-orientation] Editorial: rewrite parallel steps (PR #236)

@marcoscaceres commented on this pull request.



> +        being [=Document/fully active=] while [=in parallel=], and if the
+        |document|'s {{Document/[[orientationPendingPromise]]}} is not `null`,
+        [=reject and nullify the current lock promise=] of |document| with an
+        {{"AbortError"}}:

Hmm, interesting... It might be a Gecko-ism, but there it was possible to get notifications of the document changing state (e.g., in payment request,  it was used this to [invalidate various promises](https://searchfox.org/mozilla-central/source/dom/payments/PaymentRequest.cpp#1209)). 

I'll move this though, as you suggested, as you are right that everything happens in quick succession (unlike payment request, where the payment sheet is indefinitely waiting for user input). 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/236#discussion_r1008957674
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/pull/236/review/1161225933@github.com>

Received on Monday, 31 October 2022 00:46:22 UTC