We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8951c19 commit aa0d814Copy full SHA for aa0d814
test/parallel/test-v8-serdes.js
@@ -236,3 +236,10 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
236
/^TypeError: buffer must be a TypedArray or a DataView$/,
237
);
238
}
239
+
240
+{
241
+ // Regression test for https://github.com/nodejs/node/issues/37978
242
+ assert.throws(() => {
243
+ new v8.Deserializer(new v8.Serializer().releaseBuffer()).readDouble();
244
+ }, /ReadDouble\(\) failed/);
245
+}
0 commit comments