Skip to content

test: Delay webxr test completion until all checks have completed. - #46880

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
jdm:webxr-flaky-test
Jul 30, 2026
Merged

TimvdLippe merged 1 commit into
servo:mainfrom
jdm:webxr-flaky-test

Conversation

@jdm

@jdm jdm commented Jul 30, 2026

Copy link
Copy Markdown
Member

By resolving the promise test's promise outside of the code that actually performs the checks (after waiting on an async operation to complete), the test could exhibit racy behaviour where the test resources could be cleaned up before the async operation has completed.

Testing: Previously intermittent test result is no longer intermittent.
Fixes: #27535

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#61625) with upstreamable changes.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jul 30, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Jul 30, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 30, 2026
Merged via the queue into servo:main with commit 8ad74b6 Jul 30, 2026
36 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent error in /webxr/render_state_update.https.html

4 participants