Skip to content

Fix asynchronous GLUT main loop utilizing tests that raced against reftest XHR. #24575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

juj
Copy link
Collaborator

@juj juj commented Jun 15, 2025

No description provided.

#ifdef __EMSCRIPTEN__
// This test kicks off an asynchronous glutMainLoop(), so do not perform a synchronous
// reftest immediately after falling out from main.
EM_ASM({ delete Module['postRun']; });
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like we have a reftestBlock / reftestUnblock API for this. See #22672

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.

2 participants