[wpt-sync] Sync PR 64217 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328655
Categories
(Core :: WebVR, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
272.67 KB,
text/plain
|
Details |
Sync web-platform-tests PR 64217 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64217
Details from upstream follow.
Sergio Villar Senin <svillar@igalia.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328655
WebKit export from bug: [<!---->WebXR]<!----> Render state updates reach the device one frame late
<pre>
[WebXR] Render state updates reach the device one frame lateThe code applied the updateRenderState changes at the start of the next
frame in order not to miss the first frame. The problem was that the
data sent to the device with each frame request (active layers, etc...)
is built precisely when the render state is applied.When a page updates its render state during a frame, the request for the
next frame had therefore already gone out with the old state. The device
only learned about the new state with the request after that, one frame
late, even though the page's own callbacks already saw the new state.Applying the pending state at the end of the frame, as specs mandate,
makes the next request carry the new state. The existing call is left as
is because it's needed for the cases in which the updateRenderState is
called outside the rAF (like the first frame or a setTimeout);Added some extra checks to render_state_update WPT test to verify that
the updates happen when they should.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328655">https://bugs.webkit.org/show_bug.cgi?id=328655</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324700@main">https://commits.webkit.org/324700@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114537
| Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 166 tests and 6 subtests
Status Summary
Firefox
OK : 1[GitHub] 159[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 140
FAIL : 12[GitHub] 1110[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 7
Chrome
OK : 1
PASS : 10
FAIL : 2
Safari
OK : 1
FAIL : 12
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•19 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/594c1000bfd4
https://hg.mozilla.org/mozilla-central/rev/d325c12759b9
Description
•