Skip to content

Commit bd23274

Browse files
committed
drop a WebKit bug workaround
1 parent 7baad92 commit bd23274

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/unit-global/es.array.concat.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,5 @@ QUnit.test('Array#concat', assert => {
3030
array.constructor = { [Symbol.species]: function () {
3131
return { foo: 1 };
3232
} };
33-
// temporarily disabled because of a WebKit bug:
34-
// https://bugs.webkit.org/show_bug.cgi?id=281061
35-
if (Date.now() > Date.UTC(2024, 11, 1)) assert.same(array.concat().foo, 1, '@@species');
33+
assert.same(array.concat().foo, 1, '@@species');
3634
});

tests/unit-pure/es.array.concat.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,5 @@ QUnit.test('Array#concat', assert => {
2828
array.constructor = { [Symbol.species]: function () {
2929
return { foo: 1 };
3030
} };
31-
// temporarily disabled because of a WebKit bug:
32-
// https://bugs.webkit.org/show_bug.cgi?id=281061
33-
if (+new Date() > Date.UTC(2024, 11, 1)) assert.same(concat(array).foo, 1, '@@species');
31+
assert.same(concat(array).foo, 1, '@@species');
3432
});

0 commit comments

Comments
 (0)