diff --git a/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this-out-of-bounds.js index a52b3d58a5..cd222cd88d 100644 --- a/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/at/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/copyWithin/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/copyWithin/return-abrupt-from-this-out-of-bounds.js index 1e452001e8..5b799f2986 100644 --- a/test/built-ins/TypedArray/prototype/copyWithin/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/copyWithin/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/entries/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/entries/return-abrupt-from-this-out-of-bounds.js index e8dccf2dc1..748b217d50 100644 --- a/test/built-ins/TypedArray/prototype/entries/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/entries/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/every/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/every/return-abrupt-from-this-out-of-bounds.js index 3a1c2ad7fe..f634a0bc29 100644 --- a/test/built-ins/TypedArray/prototype/every/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/every/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-this-out-of-bounds.js index 092783a2c4..b0a7d7c30d 100644 --- a/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/filter/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/filter/return-abrupt-from-this-out-of-bounds.js index a0bff23486..499bfdbbcc 100644 --- a/test/built-ins/TypedArray/prototype/filter/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/filter/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/find/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/find/return-abrupt-from-this-out-of-bounds.js index cffc6f2898..97bf64febb 100644 --- a/test/built-ins/TypedArray/prototype/find/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/find/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/findIndex/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/findIndex/return-abrupt-from-this-out-of-bounds.js index e696b3a720..dfa5aa24d2 100644 --- a/test/built-ins/TypedArray/prototype/findIndex/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/findIndex/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/forEach/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/forEach/return-abrupt-from-this-out-of-bounds.js index 4f76a9a767..ab01f64940 100644 --- a/test/built-ins/TypedArray/prototype/forEach/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/forEach/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/includes/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/includes/return-abrupt-from-this-out-of-bounds.js index 7f890060f6..884717ddc6 100644 --- a/test/built-ins/TypedArray/prototype/includes/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/includes/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/indexOf/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/indexOf/return-abrupt-from-this-out-of-bounds.js index e81b04a03f..147964ce1c 100644 --- a/test/built-ins/TypedArray/prototype/indexOf/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/indexOf/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/join/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/join/return-abrupt-from-this-out-of-bounds.js index 246cd8cd66..e561f8e3d2 100644 --- a/test/built-ins/TypedArray/prototype/join/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/join/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/keys/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/keys/return-abrupt-from-this-out-of-bounds.js index 78c7727205..dbb4acce07 100644 --- a/test/built-ins/TypedArray/prototype/keys/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/keys/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/lastIndexOf/return-abrupt-from-this-out-of-bounds.js index 846eeceb7d..7a74732264 100644 --- a/test/built-ins/TypedArray/prototype/lastIndexOf/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/lastIndexOf/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/map/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/map/return-abrupt-from-this-out-of-bounds.js index 186d85697e..60b9a73cc1 100644 --- a/test/built-ins/TypedArray/prototype/map/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/map/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/reduce/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/reduce/return-abrupt-from-this-out-of-bounds.js index 3717f62efa..d40679bf63 100644 --- a/test/built-ins/TypedArray/prototype/reduce/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/reduce/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/reduceRight/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/reduceRight/return-abrupt-from-this-out-of-bounds.js index 922099b795..99222b8465 100644 --- a/test/built-ins/TypedArray/prototype/reduceRight/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/reduceRight/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/reverse/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/reverse/return-abrupt-from-this-out-of-bounds.js index ee6220531b..0090372e96 100644 --- a/test/built-ins/TypedArray/prototype/reverse/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/reverse/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/slice/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/slice/return-abrupt-from-this-out-of-bounds.js index 5dee3d5624..f445156c52 100644 --- a/test/built-ins/TypedArray/prototype/slice/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/slice/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/some/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/some/return-abrupt-from-this-out-of-bounds.js index 8b457cdb37..e8b4b7aaa7 100644 --- a/test/built-ins/TypedArray/prototype/some/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/some/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/sort/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/sort/return-abrupt-from-this-out-of-bounds.js index 11c73d6ef3..7f7ad2f108 100644 --- a/test/built-ins/TypedArray/prototype/sort/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/sort/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-this-out-of-bounds.js index c42aaa650d..5148f67a5c 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own diff --git a/test/built-ins/TypedArray/prototype/values/return-abrupt-from-this-out-of-bounds.js b/test/built-ins/TypedArray/prototype/values/return-abrupt-from-this-out-of-bounds.js index 5ff600a862..57002a987f 100644 --- a/test/built-ins/TypedArray/prototype/values/return-abrupt-from-this-out-of-bounds.js +++ b/test/built-ins/TypedArray/prototype/values/return-abrupt-from-this-out-of-bounds.js @@ -40,7 +40,10 @@ testWithTypedArrayConstructors(TA => { var expectedError; try { - ab.resize(BPE * 3); + ab.resize(BPE * 2); + // If the preceding "resize" operation is successful, the typed array will + // be out out of bounds, so the subsequent prototype method should produce + // a TypeError due to the semantics of ValidateTypedArray. expectedError = TypeError; } catch (_) { // The host is permitted to fail any "resize" operation at its own