- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 16 Oct 2025 23:47:07 -0700
- To: w3c/screen-orientation <screen-orientation@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/screen-orientation/pull/272@github.com>
The 'apply orientation lock' algorithm monitors if documents stop being fully active during parallel execution, but was missing equivalent monitoring for document visibility state changes.
This creates inconsistency where:
- Common safety checks prevent hidden documents from starting locks
- Parallel steps monitor fully-active state changes
- But parallel steps don't monitor hidden state changes
This fix adds monitoring for documents becoming hidden during parallel orientation lock processing, with consistent AbortError rejection.
Fixes #256
The following tasks have been completed:
* [ ] Modified Web platform tests (link to pull request)
Implementation commitment:
* [ ] WebKit (https://bugs.webkit.org/enter_bug.cgi)
* [ ] Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=)
* [ ] Gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=)
<!--
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.s3.amazonaws.com/w3c/screen-orientation/pull/272.html" title="Last updated on Oct 17, 2025, 6:46 AM UTC (0b93cf8)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/screen-orientation/272/245ed44...0b93cf8.html" title="Last updated on Oct 17, 2025, 6:46 AM UTC (0b93cf8)">Diff</a>
You can view, comment on, or merge this pull request online at:
https://github.com/w3c/screen-orientation/pull/272
-- Commit Summary --
* Add hidden document monitoring in parallel orientation lock steps
-- File Changes --
M index.html (5)
-- Patch Links --
https://github.com/w3c/screen-orientation/pull/272.patch
https://github.com/w3c/screen-orientation/pull/272.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/272
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/screen-orientation/pull/272@github.com>
Received on Friday, 17 October 2025 06:47:11 UTC