From 3d987f0015eb4a7ae049c355ba173e6fe5ac1c9f Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Tue, 6 Mar 2018 14:38:08 -0500 Subject: [PATCH] fixup! typed-arrays/bigint: fixes per recommendation. Closes gh-1467 --- .../BigInt/prototype/Symbol.toStringTag.js | 15 --------------- .../other-ctor-returns-new-typedarray.js | 2 -- 2 files changed, 17 deletions(-) diff --git a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js index 5a9e4398fc0..ab55f21253e 100644 --- a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js +++ b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js @@ -19,19 +19,4 @@ verifyProperty(BigInt.prototype, Symbol.toStringTag, { writable: false, enumerable: false, configurable: true -}, {restore: true}); - -assert.sameValue(Object.prototype.toString.call(3n), "[object BigInt]"); -assert.sameValue(Object.prototype.toString.call(Object(3n)), "[object BigInt]"); - -// Verify that Object.prototype.toString does not have special casing for BigInt -// as it does for most other primitive types -Object.defineProperty(BigInt.prototype, Symbol.toStringTag, { - value: "FooBar", - writable: false, - enumerable: false, - configurable: true }); - -assert.sameValue(Object.prototype.toString.call(3n), "[object FooBar]"); -assert.sameValue(Object.prototype.toString.call(Object(3n)), "[object FooBar]"); diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/other-ctor-returns-new-typedarray.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/other-ctor-returns-new-typedarray.js index d97bc2e409a..df7aef5aec6 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/other-ctor-returns-new-typedarray.js +++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/other-ctor-returns-new-typedarray.js @@ -2,8 +2,6 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-typedarray-typedarray -description: > - Return abrupt from getting typedArray argument's buffer.constructor.@@species info: | 22.2.4.3 TypedArray ( typedArray )