[w3c/screen-orientation] Stop applying an orientation lock after a platform failure (PR #286)

After a failed attempt, queue the rejection and exit the parallel steps. Queue the completion task inside those steps after a successful operation. This keeps the lock cleared and gives each attempt one completion path.

Found while reviewing the [Chinese](https://htmlspecs.com/screen-orientation/), [Japanese](https://jp.htmlspecs.com/screen-orientation/), and [Korean](https://ko.htmlspecs.com/screen-orientation/) translations.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.w3.org/JinDX/screen-orientation/pull/286.html" title="Last updated on Nov 10, 2026, 5:52 AM UTC (a3c369c)">Preview</a> | <a href="https://pr-preview.w3.org/w3c/screen-orientation/286/e508821...JinDX:a3c369c.html" title="Last updated on Nov 10, 2026, 5:52 AM UTC (a3c369c)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/screen-orientation/pull/286

-- Commit Summary --

  * Stop applying an orientation lock after a platform failure

-- File Changes --

    M index.html (52)

-- Patch Links --

https://github.com/w3c/screen-orientation/pull/286.patch
https://github.com/w3c/screen-orientation/pull/286.diff

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

Message ID: <w3c/screen-orientation/pull/286@github.com>

Received on Tuesday, 10 November 2026 05:53:04 UTC