From 5132804523bd0493cb51ef654fffd3193224fdac Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Mon, 11 Mar 2024 22:59:56 -0700 Subject: [PATCH] add TypedArray feature to all new tests --- test/built-ins/Uint8Array/fromBase64/alphabet.js | 2 +- test/built-ins/Uint8Array/fromBase64/descriptor.js | 2 +- test/built-ins/Uint8Array/fromBase64/ignores-receiver.js | 2 +- test/built-ins/Uint8Array/fromBase64/illegal-characters.js | 2 +- test/built-ins/Uint8Array/fromBase64/last-chunk-handling.js | 2 +- test/built-ins/Uint8Array/fromBase64/length.js | 2 +- test/built-ins/Uint8Array/fromBase64/name.js | 2 +- test/built-ins/Uint8Array/fromBase64/nonconstructor.js | 2 +- test/built-ins/Uint8Array/fromBase64/option-coercion.js | 2 +- test/built-ins/Uint8Array/fromBase64/results.js | 2 +- test/built-ins/Uint8Array/fromBase64/string-coercion.js | 2 +- test/built-ins/Uint8Array/fromBase64/whitespace.js | 2 +- test/built-ins/Uint8Array/fromHex/descriptor.js | 2 +- test/built-ins/Uint8Array/fromHex/ignores-receiver.js | 2 +- test/built-ins/Uint8Array/fromHex/illegal-characters.js | 2 +- test/built-ins/Uint8Array/fromHex/length.js | 2 +- test/built-ins/Uint8Array/fromHex/name.js | 2 +- test/built-ins/Uint8Array/fromHex/nonconstructor.js | 2 +- test/built-ins/Uint8Array/fromHex/odd-length-input.js | 2 +- test/built-ins/Uint8Array/fromHex/results.js | 2 +- test/built-ins/Uint8Array/fromHex/string-coercion.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/alphabet.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/descriptor.js | 2 +- .../Uint8Array/prototype/setFromBase64/detached-buffer.js | 2 +- .../Uint8Array/prototype/setFromBase64/illegal-characters.js | 2 +- .../Uint8Array/prototype/setFromBase64/last-chunk-handling.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/length.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/name.js | 2 +- .../Uint8Array/prototype/setFromBase64/nonconstructor.js | 2 +- .../Uint8Array/prototype/setFromBase64/option-coercion.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/results.js | 2 +- .../Uint8Array/prototype/setFromBase64/string-coercion.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/subarray.js | 2 +- .../built-ins/Uint8Array/prototype/setFromBase64/target-size.js | 2 +- test/built-ins/Uint8Array/prototype/setFromBase64/whitespace.js | 2 +- test/built-ins/Uint8Array/prototype/setFromHex/descriptor.js | 2 +- .../Uint8Array/prototype/setFromHex/detached-buffer.js | 2 +- .../Uint8Array/prototype/setFromHex/illegal-characters.js | 2 +- test/built-ins/Uint8Array/prototype/setFromHex/length.js | 2 +- test/built-ins/Uint8Array/prototype/setFromHex/name.js | 2 +- .../built-ins/Uint8Array/prototype/setFromHex/nonconstructor.js | 2 +- test/built-ins/Uint8Array/prototype/setFromHex/results.js | 2 +- .../Uint8Array/prototype/setFromHex/string-coercion.js | 2 +- test/built-ins/Uint8Array/prototype/setFromHex/subarray.js | 2 +- test/built-ins/Uint8Array/prototype/setFromHex/target-size.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/alphabet.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/descriptor.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/detached-buffer.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/length.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/name.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/nonconstructor.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/option-coercion.js | 2 +- .../Uint8Array/prototype/toBase64/receiver-not-uint8array.js | 2 +- test/built-ins/Uint8Array/prototype/toBase64/results.js | 2 +- test/built-ins/Uint8Array/prototype/toHex/descriptor.js | 2 +- test/built-ins/Uint8Array/prototype/toHex/detached-buffer.js | 2 +- test/built-ins/Uint8Array/prototype/toHex/length.js | 2 +- test/built-ins/Uint8Array/prototype/toHex/name.js | 2 +- test/built-ins/Uint8Array/prototype/toHex/nonconstructor.js | 2 +- .../Uint8Array/prototype/toHex/receiver-not-uint8array.js | 2 +- test/built-ins/Uint8Array/prototype/toHex/results.js | 2 +- 61 files changed, 61 insertions(+), 61 deletions(-) diff --git a/test/built-ins/Uint8Array/fromBase64/alphabet.js b/test/built-ins/Uint8Array/fromBase64/alphabet.js index a5d28b7a1a..4abc429db5 100644 --- a/test/built-ins/Uint8Array/fromBase64/alphabet.js +++ b/test/built-ins/Uint8Array/fromBase64/alphabet.js @@ -4,7 +4,7 @@ esid: sec-uint8array.frombase64 description: Conversion of base64 strings to Uint8Arrays exercising the alphabet option includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.compareArray(Uint8Array.fromBase64('x+/y'), [199, 239, 242]); diff --git a/test/built-ins/Uint8Array/fromBase64/descriptor.js b/test/built-ins/Uint8Array/fromBase64/descriptor.js index dfcc913a3c..a39b51cd82 100644 --- a/test/built-ins/Uint8Array/fromBase64/descriptor.js +++ b/test/built-ins/Uint8Array/fromBase64/descriptor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.frombase64 description: > Uint8Array.fromBase64 has default data property attributes. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array, 'fromBase64', { diff --git a/test/built-ins/Uint8Array/fromBase64/ignores-receiver.js b/test/built-ins/Uint8Array/fromBase64/ignores-receiver.js index 811ebc517a..62aa60a3c3 100644 --- a/test/built-ins/Uint8Array/fromBase64/ignores-receiver.js +++ b/test/built-ins/Uint8Array/fromBase64/ignores-receiver.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.frombase64 description: Uint8Array.fromBase64 ignores its receiver -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var fromBase64 = Uint8Array.fromBase64; diff --git a/test/built-ins/Uint8Array/fromBase64/illegal-characters.js b/test/built-ins/Uint8Array/fromBase64/illegal-characters.js index 5f2d7a8438..be3b66b020 100644 --- a/test/built-ins/Uint8Array/fromBase64/illegal-characters.js +++ b/test/built-ins/Uint8Array/fromBase64/illegal-characters.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.frombase64 description: Uint8Array.fromBase64 throws a SyntaxError when input has non-base64, non-ascii-whitespace characters -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var illegal = [ diff --git a/test/built-ins/Uint8Array/fromBase64/last-chunk-handling.js b/test/built-ins/Uint8Array/fromBase64/last-chunk-handling.js index 2cb96e0d01..80d3f1654e 100644 --- a/test/built-ins/Uint8Array/fromBase64/last-chunk-handling.js +++ b/test/built-ins/Uint8Array/fromBase64/last-chunk-handling.js @@ -4,7 +4,7 @@ esid: sec-uint8array.frombase64 description: Handling of final chunks in Uint8Array.fromBase64 includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // padding diff --git a/test/built-ins/Uint8Array/fromBase64/length.js b/test/built-ins/Uint8Array/fromBase64/length.js index 23b7072954..d251d7754f 100644 --- a/test/built-ins/Uint8Array/fromBase64/length.js +++ b/test/built-ins/Uint8Array/fromBase64/length.js @@ -5,7 +5,7 @@ esid: sec-uint8array.frombase64 description: > Uint8Array.fromBase64.length is 1. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.fromBase64, 'length', { diff --git a/test/built-ins/Uint8Array/fromBase64/name.js b/test/built-ins/Uint8Array/fromBase64/name.js index 9e38d3158e..71ed9a3b7d 100644 --- a/test/built-ins/Uint8Array/fromBase64/name.js +++ b/test/built-ins/Uint8Array/fromBase64/name.js @@ -5,7 +5,7 @@ esid: sec-uint8array.frombase64 description: > Uint8Array.fromBase64.name is "fromBase64". includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.fromBase64, 'name', { diff --git a/test/built-ins/Uint8Array/fromBase64/nonconstructor.js b/test/built-ins/Uint8Array/fromBase64/nonconstructor.js index 219e6399f2..469e00400f 100644 --- a/test/built-ins/Uint8Array/fromBase64/nonconstructor.js +++ b/test/built-ins/Uint8Array/fromBase64/nonconstructor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.frombase64 description: > Uint8Array.fromBase64 is not a constructor function. includes: [isConstructor.js] -features: [uint8array-base64, Reflect.construct] +features: [uint8array-base64, TypedArray, Reflect.construct] ---*/ assert(!isConstructor(Uint8Array.fromBase64), "Uint8Array.fromBase64 is not a constructor"); diff --git a/test/built-ins/Uint8Array/fromBase64/option-coercion.js b/test/built-ins/Uint8Array/fromBase64/option-coercion.js index 510e52692c..5a3a98a714 100644 --- a/test/built-ins/Uint8Array/fromBase64/option-coercion.js +++ b/test/built-ins/Uint8Array/fromBase64/option-coercion.js @@ -4,7 +4,7 @@ esid: sec-uint8array.frombase64 description: Uint8Array.fromBase64 triggers effects of the "alphabet" and "lastChunkHandling" getters, but does not perform toString on the results includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Uint8Array/fromBase64/results.js b/test/built-ins/Uint8Array/fromBase64/results.js index 31fc8a7c3f..cf98d0808a 100644 --- a/test/built-ins/Uint8Array/fromBase64/results.js +++ b/test/built-ins/Uint8Array/fromBase64/results.js @@ -4,7 +4,7 @@ esid: sec-uint8array.frombase64 description: Conversion of base64 strings to Uint8Arrays includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // standard test vectors from https://datatracker.ietf.org/doc/html/rfc4648#section-10 diff --git a/test/built-ins/Uint8Array/fromBase64/string-coercion.js b/test/built-ins/Uint8Array/fromBase64/string-coercion.js index 56f0648330..da52fd5403 100644 --- a/test/built-ins/Uint8Array/fromBase64/string-coercion.js +++ b/test/built-ins/Uint8Array/fromBase64/string-coercion.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.frombase64 description: Uint8Array.fromBase64 throws if its argument is not a string -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var toStringCalls = 0; diff --git a/test/built-ins/Uint8Array/fromBase64/whitespace.js b/test/built-ins/Uint8Array/fromBase64/whitespace.js index e052601c43..bf7d104e3d 100644 --- a/test/built-ins/Uint8Array/fromBase64/whitespace.js +++ b/test/built-ins/Uint8Array/fromBase64/whitespace.js @@ -4,7 +4,7 @@ esid: sec-uint8array.frombase64 description: Uint8Array.fromBase64 ignores ASCII whitespace in the input includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var whitespaceKinds = [ diff --git a/test/built-ins/Uint8Array/fromHex/descriptor.js b/test/built-ins/Uint8Array/fromHex/descriptor.js index 1ae033cb1e..44fdd904e1 100644 --- a/test/built-ins/Uint8Array/fromHex/descriptor.js +++ b/test/built-ins/Uint8Array/fromHex/descriptor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.fromhex description: > Uint8Array.fromHex has default data property attributes. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array, 'fromHex', { diff --git a/test/built-ins/Uint8Array/fromHex/ignores-receiver.js b/test/built-ins/Uint8Array/fromHex/ignores-receiver.js index 48bb0698c9..2b96a67493 100644 --- a/test/built-ins/Uint8Array/fromHex/ignores-receiver.js +++ b/test/built-ins/Uint8Array/fromHex/ignores-receiver.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.fromhex description: Uint8Array.fromHex ignores its receiver -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var fromHex = Uint8Array.fromHex; diff --git a/test/built-ins/Uint8Array/fromHex/illegal-characters.js b/test/built-ins/Uint8Array/fromHex/illegal-characters.js index dd0ae6d55b..4b870a7b0a 100644 --- a/test/built-ins/Uint8Array/fromHex/illegal-characters.js +++ b/test/built-ins/Uint8Array/fromHex/illegal-characters.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.fromhex description: Uint8Array.fromHex throws a SyntaxError when input has non-hex characters -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var illegal = [ diff --git a/test/built-ins/Uint8Array/fromHex/length.js b/test/built-ins/Uint8Array/fromHex/length.js index ef9dca8def..0f52a22f3e 100644 --- a/test/built-ins/Uint8Array/fromHex/length.js +++ b/test/built-ins/Uint8Array/fromHex/length.js @@ -5,7 +5,7 @@ esid: sec-uint8array.fromhex description: > Uint8Array.fromHex.length is 1. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.fromHex, 'length', { diff --git a/test/built-ins/Uint8Array/fromHex/name.js b/test/built-ins/Uint8Array/fromHex/name.js index 083cff7b79..6397c3bd33 100644 --- a/test/built-ins/Uint8Array/fromHex/name.js +++ b/test/built-ins/Uint8Array/fromHex/name.js @@ -5,7 +5,7 @@ esid: sec-uint8array.fromhex description: > Uint8Array.fromHex.name is "fromHex". includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.fromHex, 'name', { diff --git a/test/built-ins/Uint8Array/fromHex/nonconstructor.js b/test/built-ins/Uint8Array/fromHex/nonconstructor.js index e06d1c54f3..ca3b52a834 100644 --- a/test/built-ins/Uint8Array/fromHex/nonconstructor.js +++ b/test/built-ins/Uint8Array/fromHex/nonconstructor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.fromhex description: > Uint8Array.fromHex is not a constructor function. includes: [isConstructor.js] -features: [uint8array-base64, Reflect.construct] +features: [uint8array-base64, TypedArray, Reflect.construct] ---*/ assert(!isConstructor(Uint8Array.fromHex), "Uint8Array.fromHex is not a constructor"); diff --git a/test/built-ins/Uint8Array/fromHex/odd-length-input.js b/test/built-ins/Uint8Array/fromHex/odd-length-input.js index 798be139c1..9097fb700f 100644 --- a/test/built-ins/Uint8Array/fromHex/odd-length-input.js +++ b/test/built-ins/Uint8Array/fromHex/odd-length-input.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.fromhex description: Uint8Array.fromHex throws if given an odd number of input hex characters -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.throws(SyntaxError, function() { diff --git a/test/built-ins/Uint8Array/fromHex/results.js b/test/built-ins/Uint8Array/fromHex/results.js index 810e63b095..c4bf09dd33 100644 --- a/test/built-ins/Uint8Array/fromHex/results.js +++ b/test/built-ins/Uint8Array/fromHex/results.js @@ -4,7 +4,7 @@ esid: sec-uint8array.fromhex description: Conversion of hex strings to Uint8Arrays includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var cases = [ diff --git a/test/built-ins/Uint8Array/fromHex/string-coercion.js b/test/built-ins/Uint8Array/fromHex/string-coercion.js index 2290f25499..fd6efcc0f0 100644 --- a/test/built-ins/Uint8Array/fromHex/string-coercion.js +++ b/test/built-ins/Uint8Array/fromHex/string-coercion.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.fromhex description: Uint8Array.fromHex throws if its argument is not a string -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var toStringCalls = 0; diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/alphabet.js b/test/built-ins/Uint8Array/prototype/setFromBase64/alphabet.js index d931f7ca05..ec33eaf6c9 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/alphabet.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/alphabet.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Conversion of base64 strings to Uint8Arrays exercising the alphabet option includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var target = new Uint8Array([255, 255, 255, 255]); diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/descriptor.js b/test/built-ins/Uint8Array/prototype/setFromBase64/descriptor.js index f6765bb60c..3bfc1a4ecd 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/descriptor.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/descriptor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: > Uint8Array.prototype.setFromBase64 has default data property attributes. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype, 'setFromBase64', { diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/detached-buffer.js b/test/built-ins/Uint8Array/prototype/setFromBase64/detached-buffer.js index 5055082711..50c65c4e5b 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/detached-buffer.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/detached-buffer.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 throws on detatched buffers includes: [detachArrayBuffer.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var target = new Uint8Array([255, 255, 255]); diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/illegal-characters.js b/test/built-ins/Uint8Array/prototype/setFromBase64/illegal-characters.js index c3978f89ca..3d22adddca 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/illegal-characters.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/illegal-characters.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 throws a SyntaxError when input has non-base64, non-ascii-whitespace characters -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var illegal = [ diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/last-chunk-handling.js b/test/built-ins/Uint8Array/prototype/setFromBase64/last-chunk-handling.js index fa402ba90a..9142633a58 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/last-chunk-handling.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/last-chunk-handling.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Handling of final chunks in target.setFromBase64 includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // padding diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/length.js b/test/built-ins/Uint8Array/prototype/setFromBase64/length.js index bc7a976967..23fe10c352 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/length.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/length.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: > Uint8Array.prototype.setFromBase64.length is 1. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.setFromBase64, 'length', { diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/name.js b/test/built-ins/Uint8Array/prototype/setFromBase64/name.js index 18f124fb6a..a80e8ffb3f 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/name.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/name.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: > Uint8Array.prototype.setFromBase64.name is "setFromBase64". includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.setFromBase64, 'name', { diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/nonconstructor.js b/test/built-ins/Uint8Array/prototype/setFromBase64/nonconstructor.js index 14b429f4f0..e2344f2d26 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/nonconstructor.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/nonconstructor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: > Uint8Array.prototype.setFromBase64 is not a constructor function. includes: [isConstructor.js] -features: [uint8array-base64, Reflect.construct] +features: [uint8array-base64, TypedArray, Reflect.construct] ---*/ assert(!isConstructor(Uint8Array.prototype.setFromBase64), "Uint8Array.prototype.setFromBase64 is not a constructor"); diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/option-coercion.js b/test/built-ins/Uint8Array/prototype/setFromBase64/option-coercion.js index b3022352d7..bf54e4d073 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/option-coercion.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/option-coercion.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 triggers effects of the "alphabet" and "lastChunkHandling" getters, but does not perform toString on the results includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/results.js b/test/built-ins/Uint8Array/prototype/setFromBase64/results.js index cfd87afc01..016c6a34fd 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/results.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/results.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Conversion of base64 strings to Uint8Arrays includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // standard test vectors from https://datatracker.ietf.org/doc/html/rfc4648#section-10 diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/string-coercion.js b/test/built-ins/Uint8Array/prototype/setFromBase64/string-coercion.js index 22499d3493..eb1be0aac8 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/string-coercion.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/string-coercion.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 throws if its first argument is not a string -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var toStringCalls = 0; diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/subarray.js b/test/built-ins/Uint8Array/prototype/setFromBase64/subarray.js index 5c864aab21..98cea3aaf3 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/subarray.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/subarray.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 takes into account the offset of the target Uint8Array includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var base = new Uint8Array([255, 255, 255, 255, 255, 255, 255]); diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/target-size.js b/test/built-ins/Uint8Array/prototype/setFromBase64/target-size.js index 5d03f060e8..7566d8122e 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/target-size.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/target-size.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 behavior when target buffer is small includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // buffer too small diff --git a/test/built-ins/Uint8Array/prototype/setFromBase64/whitespace.js b/test/built-ins/Uint8Array/prototype/setFromBase64/whitespace.js index 38bcb3d3a0..733970884c 100644 --- a/test/built-ins/Uint8Array/prototype/setFromBase64/whitespace.js +++ b/test/built-ins/Uint8Array/prototype/setFromBase64/whitespace.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfrombase64 description: Uint8Array.prototype.setFromBase64 ignores ASCII whitespace in the input includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var whitespaceKinds = [ diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/descriptor.js b/test/built-ins/Uint8Array/prototype/setFromHex/descriptor.js index 080cda9411..8d5e4f3321 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/descriptor.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/descriptor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfromhex description: > Uint8Array.prototype.setFromHex has default data property attributes. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype, 'setFromHex', { diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/detached-buffer.js b/test/built-ins/Uint8Array/prototype/setFromHex/detached-buffer.js index 881ca258ed..ccfc9f1031 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/detached-buffer.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/detached-buffer.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfromhex description: Uint8Array.prototype.setFromHex throws on detatched buffers includes: [detachArrayBuffer.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var target = new Uint8Array([255, 255, 255]); diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/illegal-characters.js b/test/built-ins/Uint8Array/prototype/setFromHex/illegal-characters.js index 970866078f..f8c8dbdb00 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/illegal-characters.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/illegal-characters.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.setfromhex description: Uint8Array.prototype.setFromHex throws a SyntaxError when input has non-hex characters -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var illegal = [ diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/length.js b/test/built-ins/Uint8Array/prototype/setFromHex/length.js index 3754878ffc..479d0f12d8 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/length.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/length.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfromhex description: > Uint8Array.prototype.setFromHex.length is 1. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.setFromHex, 'length', { diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/name.js b/test/built-ins/Uint8Array/prototype/setFromHex/name.js index 808ac1645e..9967d38ee2 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/name.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/name.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfromhex description: > Uint8Array.prototype.setFromHex.name is "setFromHex". includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.setFromHex, 'name', { diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/nonconstructor.js b/test/built-ins/Uint8Array/prototype/setFromHex/nonconstructor.js index 435ce51f5a..4af1330391 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/nonconstructor.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/nonconstructor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.setfromhex description: > Uint8Array.prototype.setFromHex is not a constructor function. includes: [isConstructor.js] -features: [uint8array-base64, Reflect.construct] +features: [uint8array-base64, TypedArray, Reflect.construct] ---*/ assert(!isConstructor(Uint8Array.prototype.setFromHex), "target.setFromHex is not a constructor"); diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/results.js b/test/built-ins/Uint8Array/prototype/setFromHex/results.js index 2359a9060d..870d49656d 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/results.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/results.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfromhex description: Conversion of hex strings to Uint8Arrays includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var cases = [ diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/string-coercion.js b/test/built-ins/Uint8Array/prototype/setFromHex/string-coercion.js index 822ee7a349..5e877b3d0b 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/string-coercion.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/string-coercion.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.setfromhex description: Uint8Array.prototype.setFromHex throws if its first argument is not a string -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var toStringCalls = 0; diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/subarray.js b/test/built-ins/Uint8Array/prototype/setFromHex/subarray.js index 3868ace014..72a33b6daf 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/subarray.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/subarray.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfromhex description: Uint8Array.prototype.setFromHex takes into account the offset of the target Uint8Array includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var base = new Uint8Array([255, 255, 255, 255, 255, 255, 255]); diff --git a/test/built-ins/Uint8Array/prototype/setFromHex/target-size.js b/test/built-ins/Uint8Array/prototype/setFromHex/target-size.js index b794a44ee8..f3aed06f25 100644 --- a/test/built-ins/Uint8Array/prototype/setFromHex/target-size.js +++ b/test/built-ins/Uint8Array/prototype/setFromHex/target-size.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.setfromhex description: Uint8Array.prototype.setFromHex behavior when target buffer is small includes: [compareArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // buffer too small diff --git a/test/built-ins/Uint8Array/prototype/toBase64/alphabet.js b/test/built-ins/Uint8Array/prototype/toBase64/alphabet.js index 64f4959a5e..a20b3c1446 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/alphabet.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/alphabet.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.tobase64 description: Conversion of Uint8Arrays to base64 strings exercising the alphabet option -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.sameValue((new Uint8Array([199, 239, 242])).toBase64(), "x+/y"); diff --git a/test/built-ins/Uint8Array/prototype/toBase64/descriptor.js b/test/built-ins/Uint8Array/prototype/toBase64/descriptor.js index 6db2b911a7..52ba4ecad1 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/descriptor.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/descriptor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tobase64 description: > Uint8Array.prototype.toBase64 has default data property attributes. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype, 'toBase64', { diff --git a/test/built-ins/Uint8Array/prototype/toBase64/detached-buffer.js b/test/built-ins/Uint8Array/prototype/toBase64/detached-buffer.js index 2b72f1fdf7..b8b1c2999a 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/detached-buffer.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/detached-buffer.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.tobase64 description: Uint8Array.prototype.toBase64 checks for detachedness after side-effects are finished includes: [detachArrayBuffer.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var array = new Uint8Array(2); diff --git a/test/built-ins/Uint8Array/prototype/toBase64/length.js b/test/built-ins/Uint8Array/prototype/toBase64/length.js index a31b79151b..8f08a29156 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/length.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/length.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tobase64 description: > Uint8Array.prototype.toBase64.length is 0. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.toBase64, 'length', { diff --git a/test/built-ins/Uint8Array/prototype/toBase64/name.js b/test/built-ins/Uint8Array/prototype/toBase64/name.js index f13cb96927..71cd95403c 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/name.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/name.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tobase64 description: > Uint8Array.prototype.toBase64.name is "toBase64". includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.toBase64, 'name', { diff --git a/test/built-ins/Uint8Array/prototype/toBase64/nonconstructor.js b/test/built-ins/Uint8Array/prototype/toBase64/nonconstructor.js index 6d36216a9e..9b07eb2660 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/nonconstructor.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/nonconstructor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tobase64 description: > Uint8Array.prototype.toBase64 is not a constructor function. includes: [isConstructor.js] -features: [uint8array-base64, Reflect.construct] +features: [uint8array-base64, TypedArray, Reflect.construct] ---*/ assert(!isConstructor(Uint8Array.prototype.toBase64), "Uint8Array.prototype.toBase64 is not a constructor"); diff --git a/test/built-ins/Uint8Array/prototype/toBase64/option-coercion.js b/test/built-ins/Uint8Array/prototype/toBase64/option-coercion.js index 94c0b3942e..4cd9615272 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/option-coercion.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/option-coercion.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.tobase64 description: Uint8Array.prototype.toBase64 triggers effects of the "alphabet" getter, but does not perform toString on the result -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.throws(TypeError, function() { diff --git a/test/built-ins/Uint8Array/prototype/toBase64/receiver-not-uint8array.js b/test/built-ins/Uint8Array/prototype/toBase64/receiver-not-uint8array.js index e360b53da6..0ade97bad2 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/receiver-not-uint8array.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/receiver-not-uint8array.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.tobase64 description: Uint8Array.prototype.toBase64 throws if the receiver is not a Uint8Array includes: [testTypedArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var toBase64 = Uint8Array.prototype.toBase64; diff --git a/test/built-ins/Uint8Array/prototype/toBase64/results.js b/test/built-ins/Uint8Array/prototype/toBase64/results.js index d44e42d753..88d2ba111f 100644 --- a/test/built-ins/Uint8Array/prototype/toBase64/results.js +++ b/test/built-ins/Uint8Array/prototype/toBase64/results.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.tobase64 description: Conversion of Uint8Arrays to base64 strings -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ // standard test vectors from https://datatracker.ietf.org/doc/html/rfc4648#section-10 diff --git a/test/built-ins/Uint8Array/prototype/toHex/descriptor.js b/test/built-ins/Uint8Array/prototype/toHex/descriptor.js index 16762d452b..c70b782539 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/descriptor.js +++ b/test/built-ins/Uint8Array/prototype/toHex/descriptor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tohex description: > Uint8Array.prototype.toHex has default data property attributes. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype, 'toHex', { diff --git a/test/built-ins/Uint8Array/prototype/toHex/detached-buffer.js b/test/built-ins/Uint8Array/prototype/toHex/detached-buffer.js index d98d62aa2e..016d2c8ed4 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/detached-buffer.js +++ b/test/built-ins/Uint8Array/prototype/toHex/detached-buffer.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.tohex description: Uint8Array.prototype.toHex throws if called on a detached buffer includes: [detachArrayBuffer.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var array = new Uint8Array(2); diff --git a/test/built-ins/Uint8Array/prototype/toHex/length.js b/test/built-ins/Uint8Array/prototype/toHex/length.js index 0cd4450c27..6bc061be01 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/length.js +++ b/test/built-ins/Uint8Array/prototype/toHex/length.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tohex description: > Uint8Array.prototype.toHex.length is 0. includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.toHex, 'length', { diff --git a/test/built-ins/Uint8Array/prototype/toHex/name.js b/test/built-ins/Uint8Array/prototype/toHex/name.js index beca824e22..8cfa952873 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/name.js +++ b/test/built-ins/Uint8Array/prototype/toHex/name.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tohex description: > Uint8Array.prototype.toHex.name is "toHex". includes: [propertyHelper.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ verifyProperty(Uint8Array.prototype.toHex, 'name', { diff --git a/test/built-ins/Uint8Array/prototype/toHex/nonconstructor.js b/test/built-ins/Uint8Array/prototype/toHex/nonconstructor.js index 7d4d9eac9b..bb3d9e155a 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/nonconstructor.js +++ b/test/built-ins/Uint8Array/prototype/toHex/nonconstructor.js @@ -5,7 +5,7 @@ esid: sec-uint8array.prototype.tohex description: > Uint8Array.prototype.toHex is not a constructor function. includes: [isConstructor.js] -features: [uint8array-base64, Reflect.construct] +features: [uint8array-base64, TypedArray, Reflect.construct] ---*/ assert(!isConstructor(Uint8Array.prototype.toHex), "Uint8Array.prototype.toHex is not a constructor"); diff --git a/test/built-ins/Uint8Array/prototype/toHex/receiver-not-uint8array.js b/test/built-ins/Uint8Array/prototype/toHex/receiver-not-uint8array.js index c5d967a721..42ac67ec97 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/receiver-not-uint8array.js +++ b/test/built-ins/Uint8Array/prototype/toHex/receiver-not-uint8array.js @@ -4,7 +4,7 @@ esid: sec-uint8array.prototype.tohex description: Uint8Array.prototype.toHex throws if the receiver is not a Uint8Array includes: [testTypedArray.js] -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ var toHex = Uint8Array.prototype.toHex; diff --git a/test/built-ins/Uint8Array/prototype/toHex/results.js b/test/built-ins/Uint8Array/prototype/toHex/results.js index 108b973045..8d0bcf4310 100644 --- a/test/built-ins/Uint8Array/prototype/toHex/results.js +++ b/test/built-ins/Uint8Array/prototype/toHex/results.js @@ -3,7 +3,7 @@ /*--- esid: sec-uint8array.prototype.tohex description: Conversion of Uint8Arrays to hex strings -features: [uint8array-base64] +features: [uint8array-base64, TypedArray] ---*/ assert.sameValue((new Uint8Array([])).toHex(), "");