diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-03-06 15:14:11 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-03-06 15:14:11 -0500 |
commit | ce9419779fc61d5cdfa37a5cda7b6828c67221da (patch) | |
tree | 05407fc0a17c7ee2762e85ef7638b80bedc711ae /test/built-ins/BigInt/prototype/Symbol.toStringTag.js | |
parent | ac55e29ed061a38043c61d48f198eb15509a6d62 (diff) | |
download | qtdeclarative-testsuites-ce9419779fc61d5cdfa37a5cda7b6828c67221da.tar.gz |
typed-arrays/bigint: fixes per recommendation. (#1473)
Fixes gh-1467
Diffstat (limited to 'test/built-ins/BigInt/prototype/Symbol.toStringTag.js')
-rw-r--r-- | test/built-ins/BigInt/prototype/Symbol.toStringTag.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js index 146369719..ab55f2125 100644 --- a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js +++ b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js @@ -20,18 +20,3 @@ verifyProperty(BigInt.prototype, Symbol.toStringTag, { enumerable: false, configurable: 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]"); |