From 9314928990a6cbd0bc0abe3100872ba2682eda9a Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 6 Dec 2023 17:02:52 -0700 Subject: chore: bump deno_core and update tests (#21467) Landing changes required for https://github.com/denoland/deno_core/pull/359 We needed to update 99_main.js and a whole load of tests. API changes: - setPromiseRejectCallback becomes setUnhandledPromiseRejectionHandler. The function is now called from eventLoopTick. - The promiseRejectMacrotaskCallback no longer exists, as this is automatically handled in eventLoopTick. - ops.op_dispatch_exception now takes a second parameter: in_promise. The preferred way to call this op is now reportUnhandledException or reportUnhandledPromiseRejection. --- cli/tests/testdata/bench/no_check.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/testdata/bench') diff --git a/cli/tests/testdata/bench/no_check.out b/cli/tests/testdata/bench/no_check.out index 9548a4f3d..6dc016458 100644 --- a/cli/tests/testdata/bench/no_check.out +++ b/cli/tests/testdata/bench/no_check.out @@ -1,4 +1,4 @@ -error: TypeError: Cannot read properties of undefined (reading 'fn') +error: (in promise) TypeError: Cannot read properties of undefined (reading 'fn') Deno.bench(); ^ at [WILDCARD] -- cgit v1.2.3