-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
fix(ext/node): Fix vm sandbox object panic #24985
fix(ext/node): Fix vm sandbox object panic #24985
Conversation
Is there a small test we could add? |
Yeah I am a bit concerned about this because I don't know how you would write code that hits this unwrap... |
I haven't been able to isolate the problem out of webpack's test suite yet. It looks to be a bit deeper burried in jest, maybe even tied to a specific version. |
Huh i cant find the code in jest that reproduces this. It's a weird condition, the |
Looking at the webpack code, they are using the |
Should we land this? I am not able to hit unwraps outside of the jest reproduction case. |
maybe change them to throw a js exception, should make it easier to track down the cause |
After throwing an exception:
Still pretty hard to get a small repro. Maybe we should do a |
…hrows Fix panic when a global interceptor is misconfigured or throws an exception. Example denoland/deno#24985 (comment)
…hrows Fix panic when a global interceptor is misconfigured or throws an exception. Example denoland/deno#24985 (comment)
…hrows (#914) Fix panic when a global interceptor is misconfigured or throws an exception. Fixes denoland/deno#24985 (comment) and denoland/deno#26240
…throws (#26241) Fixes #26240 Fixes #24985 (comment) Fix panic when a global interceptor is misconfigured or throws an exception. Updates deno_core to 0.313.0
Fixes #24412