-
Notifications
You must be signed in to change notification settings - Fork 47
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
runtime error should throw properly #85
Comments
The same |
btw, the error is coming from eshost 3.5.0, it doesn't fail on eshost 3.4.3. |
Async flag seems appropriate here, but I'm intrigued about the eshost 3.5 regression/change of behavior. |
this might need fetching each commit on eshost since 3.4.3 to find the cause. I'm not familiar with it's code and I suspect my time won't be the best fit to solve it. I'm starting a PTO for ~10 days. |
I can try to do a git bisect |
I did a git bisect, and also found the exact bug happening by forcing installing [email protected] vs 3.5.0 |
|
Does not correct the issue |
lol...
|
@rwaldron are you investigating? I can take this one if you like. |
I found it and fixed it. |
Alright! Excellent. |
Originally reported at tc39/test262-harness#85
Originally reported at tc39/test262-harness#85
Originally reported at tc39/test262-harness#85
@rwaldron back to the original report: should test262-harness bail out on tests that are supposed to be async? Like, in this case with a setTimeout, should the harness wait for the async completion without a explicit async flag in the frontmatter? |
This test is relying on
$DONE
to throw an error. I wonder if the test should have aflags: [async]
frontmatter flag or also just throw a custom error instead. Otherwise, there's nothing telling the runner to wait.https://github.com/bterlson/test262-harness/blob/4fb2a88f95daa01f8c34d6ec49e26e77079bb722/test/collateral/asyncNegative.js#L11
I found this because I'm getting a failure for this test.
The text was updated successfully, but these errors were encountered: