Closed Bug 2079082 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63324 - Fix timeouts in rVFC before-xr-session WPT

Categories

(Core :: Audio/Video: Playback, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63324 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63324
Details from upstream follow.

Thomas Guilbert <tguilbert@chromium.org> wrote:

Fix timeouts in rVFC before-xr-session WPT

request-video-frame-callback-before-xr-session.https.html shares one
5s video between its 4 subtests, and starts playing it while the page is
still loading. On slow bots, the video can end before the subtests are
done. rVFC callbacks then stop, and the test times out. This happens on
~4% of win-rel runs.

This CL loops the video, and removes the Linux [ Pass Timeout ]
expectation, which should no longer be needed. It also removes a
video.currentTime = 0 call, which never reset the video between
subtests.

Fixed: 40881807, 40189569
Change-Id: I3a88a1389458fe7a3743ef99b80884721d7b1f39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8518405
Commit-Queue: Syed AbuTalib \<lowkey@google.com>
Reviewed-by: Syed AbuTalib \<lowkey@google.com>
Auto-Submit: Thomas Guilbert \<tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1712365}

Component: web-platform-tests → Audio/Video: Playback
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 8 tests and 5 subtests

Status Summary

Firefox

OK : 1[GitHub] 8[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, 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: 31
FAIL: 4[GitHub] 6[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, 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]

Chrome

OK : 1
PASS: 4

Safari

OK : 1
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /video-rvfc/request-video-frame-callback-before-xr-session.https.html [wpt.fyi]
    • Make sure video.rVFC works during a non-immersive session - webgl: FAIL (Chrome: PASS, Safari: FAIL)
    • Make sure video.rVFC works during a non-immersive session - webgl2: FAIL (Chrome: PASS, Safari: FAIL)
    • Make sure video.rVFC works during an immersive session - webgl: FAIL (Chrome: PASS, Safari: FAIL)
    • Make sure video.rVFC works during an immersive session - webgl2: FAIL (Chrome: PASS, Safari: FAIL)
  • /video-rvfc/request-video-frame-callback-during-xr-session.https.html [wpt.fyi]
    • Make sure video.rVFC callbacks started during an immersive session continue after it ends - webgl: FAIL
    • Make sure video.rVFC callbacks started during an immersive session continue after it ends - webgl2: FAIL
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.