Re: [w3c/screen-orientation] Editorial: Fix pre-lock conditions algorithm structure (PR #267)

@marcoscaceres commented on this pull request.



> @@ -416,6 +410,12 @@ <h2>
           orientation to |orientation|, return [=a promise rejected with=] a
           {{"NotSupportedError"}} {{DOMException}} and abort these steps.
           </li>
+          <li>If the [=user agent=] requires |document| and its
+          associated [=Document/browsing context=] to meet [=pre-lock
+          conditions=] in order to [=lock the screen orientation=], and those
+          conditions are not met, return [=a promise rejected with=] a
+          {{"NotSupportedError"}} {{DOMException}} and abort these steps.

```suggestion
          {{"NotAllowedError"}} {{DOMException}} and abort these steps.
```

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

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

Received on Tuesday, 21 October 2025 04:18:57 UTC