mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
* chore: bump node in DEPS to v16.17.0 * chore: fixup asar patch * lib: use null-prototype objects for property descriptors https://github.com/nodejs/node/pull/43270 * src: make SecureContext fields private https://github.com/nodejs/node/pull/43173 * crypto: remove Node.js-specific webcrypto extensions https://github.com/nodejs/node/pull/43310 * test: refactor to top-level await https://github.com/nodejs/node/pull/43500 * deps: cherry-pick two libuv fixes https://github.com/nodejs/node/pull/43950 * src: slim down env-inl.h https://github.com/nodejs/node/pull/43745 * util: add AggregateError.prototype.errors to inspect output https://github.com/nodejs/node/pull/43646 * esm: improve performance & tidy tests https://github.com/nodejs/node/pull/43784 * src: NodeArrayBufferAllocator delegates to v8's allocator https://github.com/nodejs/node/pull/43594 * chore: update patch indices * chore: update filenames * src: refactor IsSupportedAuthenticatedMode https://github.com/nodejs/node/pull/42368 * src: add --openssl-legacy-provider option https://github.com/nodejs/node/pull/40478 * lib,src: add source map support for global eval https://github.com/nodejs/node/pull/43428 * trace_events: trace net connect event https://github.com/nodejs/node/pull/43903 * deps: update ICU to 71.1 https://github.com/nodejs/node/pull/42655 This fails the test because it's missing https://chromium-review.googlesource.com/c/chromium/deps/icu/+/3841093 * lib: give names to promisified exists() and question() https://github.com/nodejs/node/pull/43218 * crypto: add CFRG curves to Web Crypto API https://github.com/nodejs/node/pull/42507 * src: fix memory leak for v8.serialize https://github.com/nodejs/node/pull/42695 This test does not work for Electron as they do not use V8's ArrayBufferAllocator. * buffer: fix atob input validation https://github.com/nodejs/node/pull/42539 * src: fix ssize_t error from nghttp2.h https://github.com/nodejs/node/pull/44393 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Shelley Vohr <shelley.vohr@gmail.com>
|
|
Date: Wed, 16 Feb 2022 13:33:41 +0100
|
|
Subject: fix: failing Node.js test on outdated
|
|
CurrentValueSerializerFormatVersion
|
|
|
|
Corrects for a test that started failing as of https://chromium-review.googlesource.com/c/v8/v8/+/3417189
|
|
becuase V8 updated the return value of CurrentValueSerializerFormatVersion()
|
|
from 14 to 15, and Node.js still expected 14 (0x0e).
|
|
|
|
This patch can be removed as soon as Node.js updates to a version of V8
|
|
containing the above CL.
|
|
|
|
diff --git a/test/parallel/test-v8-serdes.js b/test/parallel/test-v8-serdes.js
|
|
index 12f20ed1c9d386122dd20fdd84a7a0c9b9079ee1..14552eeb493e8eb5b7c05c531b9628d8bcb13aae 100644
|
|
--- a/test/parallel/test-v8-serdes.js
|
|
+++ b/test/parallel/test-v8-serdes.js
|
|
@@ -163,7 +163,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
|
|
}
|
|
|
|
{
|
|
- const buf = Buffer.from('ff0e6f2203666f6f5e007b01', 'hex');
|
|
+ const buf = Buffer.from('ff0f6f2203666f6f5e007b01', 'hex');
|
|
|
|
const des = new v8.DefaultDeserializer(buf);
|
|
des.readHeader();
|
|
@@ -174,7 +174,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
|
|
ser.writeValue(des.readValue());
|
|
|
|
assert.deepStrictEqual(buf, ser.releaseBuffer());
|
|
- assert.strictEqual(des.getWireFormatVersion(), 0x0e);
|
|
+ assert.strictEqual(des.getWireFormatVersion(), 0x0f);
|
|
}
|
|
|
|
{
|