Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,10 @@ <h2>
|document|, the user agent MUST run the following steps:
</p>
<ol class="algorithm">
<li>If |document|'s {{Document/[[orientationPendingPromise]]}} is not
`null`, [=reject and nullify the current lock promise=] of |document|
with an {{"AbortError"}}.
</li>
Comment on lines +837 to +840
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spec markup issues: (1) {{Document/[[orientationPendingPromise]]}} is not a valid Bikeshed/IDL reference for an internal slot; link the internal slot relative to the algorithm variable using [= |document| / [[orientationPendingPromise]] =]. (2) {{"AbortError"}} is not a valid IDL link; use 'AbortError' DOMException per standard phrasing. Suggested rewrite: If [= |document| / [[orientationPendingPromise]] =] is not null, [=reject and nullify the current lock promise=] of |document| with an 'AbortError' DOMException.

Copilot uses AI. Check for mistakes.

<li>If |document| is not a [=top-level browsing context=]'s
[=navigable/active document=], abort these steps.
</li>
Expand Down