Skip to content
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

Avoid reliance on async module timing in import-map test #49725

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yoavweiss
Copy link
Contributor

While implementing WebKit/WebKit#37896 in WebKit, I realized that async inline module scripts run at different times there compared to Chromium.

Looking at the spec, the timing for them doesn't seem well defined, and in any case is not the subject of the test in question.

This PR modifies the test to avoid that reliance. It might be worthwhile to consider further testing for async inline module timings if interop on that front is desired, but that seems orthogonal.

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

As far as I can tell it was not important to use async for this, indeed... a bit mysterious though that we did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants