diff --git a/test/built-ins/BigInt/asIntN/bigint-tobigint-errors.js b/test/built-ins/BigInt/asIntN/bigint-tobigint-errors.js index 950cda9f6ed3d3d7f0a839c5b3a5dcde63b02cf8..949f74a98c5f849f1b671a76cb51aa476c25f910 100644 --- a/test/built-ins/BigInt/asIntN/bigint-tobigint-errors.js +++ b/test/built-ins/BigInt/asIntN/bigint-tobigint-errors.js @@ -9,7 +9,8 @@ info: | 2. Let bigint ? ToBigInt(bigint). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ - +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asIntN, 'function'); assert.throws(TypeError, function() { BigInt.asIntN(0, undefined); }, "ToBigInt: undefined => TypeError"); diff --git a/test/built-ins/BigInt/asIntN/bigint-tobigint-toprimitive.js b/test/built-ins/BigInt/asIntN/bigint-tobigint-toprimitive.js index fe0a702faf190fe613bfdd9633b97309f71cf725..d1286832e5899e69cbd8ca236db7c821a9288b0f 100644 --- a/test/built-ins/BigInt/asIntN/bigint-tobigint-toprimitive.js +++ b/test/built-ins/BigInt/asIntN/bigint-tobigint-toprimitive.js @@ -9,7 +9,8 @@ info: | 2. Let bigint ? ToBigInt(bigint). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ - +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asIntN, 'function'); function err() { throw new Test262Error(); } diff --git a/test/built-ins/BigInt/asIntN/bits-toindex-errors.js b/test/built-ins/BigInt/asIntN/bits-toindex-errors.js index 9f2fabb1c13ccbf87a258f49342299963f4beb6d..b0999053ed8db852cb26bf9e36ba594ab0c61128 100644 --- a/test/built-ins/BigInt/asIntN/bits-toindex-errors.js +++ b/test/built-ins/BigInt/asIntN/bits-toindex-errors.js @@ -9,6 +9,8 @@ info: | 1. Let bits be ? ToIndex(bits). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asIntN, 'function'); assert.throws(RangeError, function() { BigInt.asIntN(-1, 0n); diff --git a/test/built-ins/BigInt/asIntN/bits-toindex-toprimitive.js b/test/built-ins/BigInt/asIntN/bits-toindex-toprimitive.js index 10ffd610f8466a6d08022546c276facc269fc4c9..584f46166962bc13c051f269e92d30fd1f66c513 100644 --- a/test/built-ins/BigInt/asIntN/bits-toindex-toprimitive.js +++ b/test/built-ins/BigInt/asIntN/bits-toindex-toprimitive.js @@ -9,6 +9,8 @@ info: | 1. Let bits be ? ToIndex(bits). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asIntN, 'function'); function err() { throw new Test262Error(); diff --git a/test/built-ins/BigInt/asUintN/bigint-tobigint-errors.js b/test/built-ins/BigInt/asUintN/bigint-tobigint-errors.js index 924e3decb1874a8356cd4f843f89ca624702e561..d12d665f2d4cf87c3668ee94dc38e0fd3720bc30 100644 --- a/test/built-ins/BigInt/asUintN/bigint-tobigint-errors.js +++ b/test/built-ins/BigInt/asUintN/bigint-tobigint-errors.js @@ -9,6 +9,8 @@ info: | 2. Let bigint ? ToBigInt(bigint). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asUintN, 'function'); assert.throws(TypeError, function() { BigInt.asUintN(0, undefined); diff --git a/test/built-ins/BigInt/asUintN/bigint-tobigint-toprimitive.js b/test/built-ins/BigInt/asUintN/bigint-tobigint-toprimitive.js index 1aff2080c31480663883c3065a4d2c13df08d68b..e1508cf16f84fd38966fd6451d8b390d06eb1132 100644 --- a/test/built-ins/BigInt/asUintN/bigint-tobigint-toprimitive.js +++ b/test/built-ins/BigInt/asUintN/bigint-tobigint-toprimitive.js @@ -9,6 +9,8 @@ info: | 2. Let bigint ? ToBigInt(bigint). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asUintN, 'function'); function err() { throw new Test262Error(); diff --git a/test/built-ins/BigInt/asUintN/bits-toindex-errors.js b/test/built-ins/BigInt/asUintN/bits-toindex-errors.js index 3967dab25d9a4a22b90df6ad83257771b08925e9..4bc25532712d0ac2376148bf402dd514c27ef6d2 100644 --- a/test/built-ins/BigInt/asUintN/bits-toindex-errors.js +++ b/test/built-ins/BigInt/asUintN/bits-toindex-errors.js @@ -9,6 +9,8 @@ info: | 1. Let bits be ? ToIndex(bits). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asUintN, 'function'); assert.throws(RangeError, function() { BigInt.asUintN(-1, 0n); diff --git a/test/built-ins/BigInt/asUintN/bits-toindex-toprimitive.js b/test/built-ins/BigInt/asUintN/bits-toindex-toprimitive.js index 4933da2fbf7220339ad6d8946eac79c9df130e99..a7499c9d80037521bbc892b147e4b3a34c2d6d43 100644 --- a/test/built-ins/BigInt/asUintN/bits-toindex-toprimitive.js +++ b/test/built-ins/BigInt/asUintN/bits-toindex-toprimitive.js @@ -9,6 +9,8 @@ info: | 1. Let bits be ? ToIndex(bits). features: [BigInt, computed-property-names, Symbol, Symbol.toPrimitive] ---*/ +assert.sameValue(typeof BigInt, 'function'); +assert.sameValue(typeof BigInt.asUintN, 'function'); function err() { throw new Test262Error(); diff --git a/test/built-ins/BigInt/new-target-throws.js b/test/built-ins/BigInt/new-target-throws.js index aaf91b1174d0015b8e0ede0600fc9e2bba563ebf..c61ef6e2b20396e02bc43555c826fee2e09f1c38 100644 --- a/test/built-ins/BigInt/new-target-throws.js +++ b/test/built-ins/BigInt/new-target-throws.js @@ -9,6 +9,7 @@ info: | ... features: [BigInt] ---*/ +assert.sameValue(typeof BigInt, 'function'); assert.throws(TypeError, function() { new BigInt(); diff --git a/test/built-ins/BigInt/prototype/toString/prototype-call.js b/test/built-ins/BigInt/prototype/toString/prototype-call.js index 76aa2195de16b8853c81d402b10daa55e272972d..b9a4d0ad70f97fd304af7d7b613820bd0de85f86 100644 --- a/test/built-ins/BigInt/prototype/toString/prototype-call.js +++ b/test/built-ins/BigInt/prototype/toString/prototype-call.js @@ -15,6 +15,7 @@ info: | [[BigIntData]] internal slot. features: [BigInt] ---*/ +assert.sameValue(typeof BigInt, 'function'); assert.throws(TypeError, function() { BigInt.prototype.toString(1); diff --git a/test/built-ins/BigInt/prototype/toString/thisbigintvalue-not-valid-throws.js b/test/built-ins/BigInt/prototype/toString/thisbigintvalue-not-valid-throws.js index 1e4a1bd6b26674f3dc4b0263a7c6a71c4f2f727e..2ac6dde7dc031a33e6e22c553ce5ae37a6f22d96 100644 --- a/test/built-ins/BigInt/prototype/toString/thisbigintvalue-not-valid-throws.js +++ b/test/built-ins/BigInt/prototype/toString/thisbigintvalue-not-valid-throws.js @@ -21,6 +21,8 @@ features: [BigInt, Symbol, Symbol.toPrimitive] var toString = BigInt.prototype.toString; +assert.sameValue(typeof toString, 'function'); + assert.throws(TypeError, function() { toString.call({ x: 1n diff --git a/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-object-throws.js b/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-object-throws.js index 90c5b71c1864a0d707eaf0fda16cc2d16c39d5c0..88f9f40b62f6f82e2ed51ff4d2d30a8a9a2f11f2 100644 --- a/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-object-throws.js +++ b/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-object-throws.js @@ -20,6 +20,7 @@ features: [BigInt] ---*/ var valueOf = BigInt.prototype.valueOf; +assert.sameValue(typeof valueOf, 'function'); assert.throws(TypeError, function() { valueOf.call({}); diff --git a/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-primitive-throws.js b/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-primitive-throws.js index c7379385c7459a2d6deac49835c5d582abd39267..9d2a1e13ed04336c1a361ac4281f0bbdb2338078 100644 --- a/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-primitive-throws.js +++ b/test/built-ins/BigInt/prototype/valueOf/this-value-invalid-primitive-throws.js @@ -21,6 +21,8 @@ features: [BigInt, Symbol] var valueOf = BigInt.prototype.valueOf; +assert.sameValue(typeof valueOf, 'function'); + assert.throws(TypeError, function() { valueOf.call(undefined); }, "undefined");