1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/ext
Bartek Iwańczuk f7af0b01a5
feat: add "unhandledrejection" event support (#12994)
This commit adds support for "unhandledrejection" event.

This event will trigger event listeners registered using:

"globalThis.addEventListener("unhandledrejection")
"globalThis.onunhandledrejection"
This is done by registering a default handler using
"Deno.core.setPromiseRejectCallback" that allows to
handle rejected promises in JavaScript instead of Rust.

This commit will make it possible to polyfill
"process.on("unhandledRejection")" in the Node compat
layer.

Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-07-04 21:14:58 +02:00
..
broadcast_channel chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
console chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
crypto chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
fetch perf(ext/http): lazy load headers (#15055) 2022-07-04 07:41:52 +05:30
ffi chore: use Rust 1.62.0 (#15028) 2022-07-01 15:28:06 +02:00
http perf(ext/http): remove accept_encoding interior mutability (#15070) 2022-07-04 21:48:09 +05:30
net chore: use Rust 1.62.0 (#15028) 2022-07-01 15:28:06 +02:00
tls chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
url chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
web feat: add "unhandledrejection" event support (#12994) 2022-07-04 21:14:58 +02:00
webgpu chore: use Rust 1.62.0 (#15028) 2022-07-01 15:28:06 +02:00
webidl chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
websocket chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00
webstorage chore: forward 1.23.2 to main (#15027) 2022-06-30 18:01:08 -04:00