From 7c857318f0ce09778038f409875b1e3de8fe27dc Mon Sep 17 00:00:00 2001 From: Valerie R Young Date: Tue, 13 Mar 2018 14:53:06 -0400 Subject: [PATCH] BigInt: fix, other TypedArray should be Big --- .../typedarray-arg/other-ctor-buffer-ctor-access-throws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js b/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js index 686c020080..3882f1c78e 100644 --- a/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js +++ b/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js @@ -26,7 +26,7 @@ features: [BigInt, TypedArray] ---*/ testWithBigIntTypedArrayConstructors(function(TA) { - var OtherCtor = TA === Int8Array ? Int16Array : Int8Array; + var OtherCtor = TA === BigInt64Array ? BigUint64Array : BigInt64Array; var sample = new OtherCtor(); Object.defineProperty(sample.buffer, "constructor", {