Skip to content

Commit 3b45d8f

Browse files
committed
Remove unnecessary constructor argument factory restriction in TypedArray method tests
1 parent 7aa51fb commit 3b45d8f

12 files changed

+12
-12
lines changed

test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-called-before-ctor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ testWithBigIntTypedArrayConstructors(function(TA) {
3636

3737
assert.sameValue(calls, 42, "callbackfn called for each item");
3838
assert.sameValue(before, true, "all callbackfn called before");
39-
}, null, ["passthrough"]);
39+
});

test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-called-before-species.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ testWithBigIntTypedArrayConstructors(function(TA) {
3636

3737
assert.sameValue(calls, 42, "callbackfn called for each item");
3838
assert.sameValue(before, true, "all callbackfn called before");
39-
}, null, ["passthrough"]);
39+
});

test/built-ins/TypedArray/prototype/filter/BigInt/speciesctor-get-ctor-abrupt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ testWithBigIntTypedArrayConstructors(function(TA, makeCtorArg) {
4040
return true;
4141
});
4242
});
43-
}, null, ["passthrough"]);
43+
});

test/built-ins/TypedArray/prototype/filter/BigInt/speciesctor-get-ctor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ testWithBigIntTypedArrayConstructors(function(TA, makeCtorArg) {
5151
TA,
5252
"use defaultCtor on an undefined return - .constructor check"
5353
);
54-
}, null, ["passthrough"]);
54+
});

test/built-ins/TypedArray/prototype/filter/BigInt/speciesctor-get-species-abrupt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ testWithBigIntTypedArrayConstructors(function(TA, makeCtorArg) {
4242
assert.throws(Test262Error, function() {
4343
sample.filter(function() { return true; });
4444
});
45-
}, null, ["passthrough"]);
45+
});

test/built-ins/TypedArray/prototype/filter/BigInt/speciesctor-get-species.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ testWithBigIntTypedArrayConstructors(function(TA, makeCtorArg) {
4343
sample.filter(function() {});
4444

4545
assert.sameValue(calls, 1);
46-
}, null, ["passthrough"]);
46+
});

test/built-ins/TypedArray/prototype/filter/callbackfn-called-before-ctor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ testWithTypedArrayConstructors(function(TA) {
3636

3737
assert.sameValue(calls, 42, "callbackfn called for each item");
3838
assert.sameValue(before, true, "all callbackfn called before");
39-
}, null, ["passthrough"]);
39+
});

test/built-ins/TypedArray/prototype/filter/callbackfn-called-before-species.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ testWithTypedArrayConstructors(function(TA) {
3636

3737
assert.sameValue(calls, 42, "callbackfn called for each item");
3838
assert.sameValue(before, true, "all callbackfn called before");
39-
}, null, ["passthrough"]);
39+
});

test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor-abrupt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ testWithTypedArrayConstructors(function(TA, makeCtorArg) {
4040
return true;
4141
});
4242
});
43-
}, null, ["passthrough"]);
43+
});

test/built-ins/TypedArray/prototype/filter/speciesctor-get-ctor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ testWithTypedArrayConstructors(function(TA, makeCtorArg) {
5151
TA,
5252
"use defaultCtor on an undefined return - .constructor check"
5353
);
54-
}, null, ["passthrough"]);
54+
});

0 commit comments

Comments
 (0)