diff options
Diffstat (limited to 'ext/web/02_event.js')
-rw-r--r-- | ext/web/02_event.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js index 105c7d3c4..ee64b3719 100644 --- a/ext/web/02_event.js +++ b/ext/web/02_event.js @@ -8,6 +8,7 @@ ((window) => { const core = window.Deno.core; + const ops = core.ops; const webidl = window.__bootstrap.webidl; const { DOMException } = window.__bootstrap.domException; const consoleInternal = window.__bootstrap.console; @@ -1451,7 +1452,7 @@ }); // Avoid recursing `reportException()` via error handlers more than once. if (reportExceptionStackedCalls > 1 || window.dispatchEvent(event)) { - core.terminate(error); + ops.op_dispatch_exception(error); } reportExceptionStackedCalls--; } |