Skip to content

Disable rejected promise tracker in REPL#815

Merged
saghul merged 1 commit intomasterfrom
repl-no-promise-tracker
Jan 10, 2025
Merged

Disable rejected promise tracker in REPL#815
saghul merged 1 commit intomasterfrom
repl-no-promise-tracker

Conversation

@saghul
Copy link
Copy Markdown
Contributor

@saghul saghul commented Jan 10, 2025

Fixes: #814

@saghul saghul requested a review from bnoordhuis January 10, 2025 11:26
@saghul
Copy link
Copy Markdown
Contributor Author

saghul commented Jan 10, 2025

@bnoordhuis PTAL. A more complete engine likely wants to emulate the 'unhandledrejection' DOM event and not exit if prevented (I did that in txiki.js) but I feel like this is enough here, WDYT?

@saghul saghul merged commit 0f97936 into master Jan 10, 2025
@saghul saghul deleted the repl-no-promise-tracker branch January 10, 2025 21:13
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.

qjs terminates on exception

2 participants