Skip to content

Make InternalErrors uncatchable by JS code - #1814

Merged
bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1813
Oct 8, 2026
Merged

bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1813

Conversation

@bnoordhuis

Copy link
Copy Markdown
Contributor

Such errors indicate that the JS engine is in an unexpected state so it makes no sense (and is possibly dangerous) to let JS code catch and ignore them.

Fixes: #1813

Such errors indicate that the JS engine is in an unexpected state
so it makes no sense (and is possibly dangerous) to let JS code
catch and ignore them.

Fixes: quickjs-ng#1813
@bnoordhuis
bnoordhuis merged commit db0fe52 into quickjs-ng:master Oct 8, 2026
128 checks passed
@bnoordhuis
bnoordhuis deleted the fix1813 branch October 8, 2026 23:11
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.

Make InternalErrors uncatchable by JS code?

2 participants