From f57745fe2106a4d26dd2209e1b2cacb2d6430245 Mon Sep 17 00:00:00 2001 From: snek Date: Wed, 31 Jul 2024 16:22:34 -0700 Subject: feat: upgrade V8 to 12.8 (#24693) - upgrade to v8 12.8 - optimizes DataView bigint methods - fixes global interceptors - includes CPED methods for ALS - fix global resolution - makes global resolution consistent using host_defined_options. originally a separate patch but due to the global interceptor bug it needs to be included in this pr for all tests to pass. --- tests/node_compat/test/common/index.js | 1 - tests/testdata/run/worker_close_in_wasm_reactions.js.out | 2 +- tests/unit/console_test.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/node_compat/test/common/index.js b/tests/node_compat/test/common/index.js index bc1ea05e4..ebac56ac5 100644 --- a/tests/node_compat/test/common/index.js +++ b/tests/node_compat/test/common/index.js @@ -59,7 +59,6 @@ let knownGlobals = [ queueMicrotask, removeEventListener, reportError, - self, sessionStorage, setImmediate, ]; diff --git a/tests/testdata/run/worker_close_in_wasm_reactions.js.out b/tests/testdata/run/worker_close_in_wasm_reactions.js.out index 325180de4..904613dae 100644 --- a/tests/testdata/run/worker_close_in_wasm_reactions.js.out +++ b/tests/testdata/run/worker_close_in_wasm_reactions.js.out @@ -1,2 +1,2 @@ -Error: CompileError: WebAssembly.compile(): reached end while decoding length: @+10 +Error: CompileError: WebAssembly.compile(): reached end while decoding length @+10 at file:///[WILDCARD]/close_in_wasm_reactions.js:18:13 diff --git a/tests/unit/console_test.ts b/tests/unit/console_test.ts index 957ad3ef9..d9ac71dd8 100644 --- a/tests/unit/console_test.ts +++ b/tests/unit/console_test.ts @@ -518,8 +518,8 @@ Deno.test(function consoleTestStringifyFunctionWithProperties() { ], [isArray]: [Function: isArray] { [length]: 1, [name]: "isArray" }, [from]: [Function: from] { [length]: 1, [name]: "from" }, - [of]: [Function: of] { [length]: 0, [name]: "of" }, [fromAsync]: [Function: fromAsync] { [length]: 1, [name]: "fromAsync" }, + [of]: [Function: of] { [length]: 0, [name]: "of" }, [Symbol(Symbol.species)]: [Getter] }`, ); -- cgit v1.2.3