Skip to content

Motivation for Reflect.panic #8

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
littledan opened this issue Apr 9, 2025 · 0 comments
Open

Motivation for Reflect.panic #8

littledan opened this issue Apr 9, 2025 · 0 comments

Comments

@littledan
Copy link
Member

It seems like a good idea to unify JS engines around panicking when they OOM, rather than making a catchable error. On the other hand, I don't understand why we should expose Reflect.panic. What is the use case? It seems only harmful if libraries can kill the process, especially given varying trust levels for libraries.

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

No branches or pull requests

1 participant