Skip to content

Commit

Permalink
drop a WebKit bug workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 21, 2024
1 parent 7baad92 commit bd23274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tests/unit-global/es.array.concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@ QUnit.test('Array#concat', assert => {
array.constructor = { [Symbol.species]: function () {
return { foo: 1 };
} };
// temporarily disabled because of a WebKit bug:
// https://bugs.webkit.org/show_bug.cgi?id=281061
if (Date.now() > Date.UTC(2024, 11, 1)) assert.same(array.concat().foo, 1, '@@species');
assert.same(array.concat().foo, 1, '@@species');
});
4 changes: 1 addition & 3 deletions tests/unit-pure/es.array.concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ QUnit.test('Array#concat', assert => {
array.constructor = { [Symbol.species]: function () {
return { foo: 1 };
} };
// temporarily disabled because of a WebKit bug:
// https://bugs.webkit.org/show_bug.cgi?id=281061
if (+new Date() > Date.UTC(2024, 11, 1)) assert.same(concat(array).foo, 1, '@@species');
assert.same(concat(array).foo, 1, '@@species');
});

0 comments on commit bd23274

Please sign in to comment.