1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/cli/tests
Bartek Iwańczuk 7471587d29
feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875)
This commit adds support for "rejectionhandled" Web Event and
"rejectionHandled" Node event.

```js
import process from "node:process";

process.on("rejectionHandled", (promise) => {
  console.log("rejectionHandled", reason, promise);
});

window.addEventListener("rejectionhandled", (event) => {
  console.log("rejectionhandled", event.reason, event.promise);
});
```

---------

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-01-12 22:10:42 +00:00
..
integration feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875) 2024-01-12 22:10:42 +00:00
node_compat chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
testdata feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875) 2024-01-12 22:10:42 +00:00
unit fix(ext/websocket): pass on uncaught errors in idleTimeout (#21846) 2024-01-09 19:56:54 +05:30
unit_node fix(ext/node): add WriteStream.isTTY (#21801) 2024-01-05 22:37:14 +01:00
integration_tests.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00