[Webkit-unassigned] [Bug 281061] New: `Array.prototype.concat` stopped to work with `Symbol.species`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 8 09:37:25 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=281061

            Bug ID: 281061
           Summary: `Array.prototype.concat` stopped to work with
                    `Symbol.species`
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zloirock at ya.ru

`core-js` test case started to fail on WebKit from the latest Playwright on `Array.prototype.concat` + `Symbol.species` test:
```js
const array = [];
array.constructor = { [Symbol.species]: function () {
  return { foo: 1 };
} };
console.log(array.concat().foo); // => `undefined`, expected 1
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241008/8a279ca3/attachment.htm>


More information about the webkit-unassigned mailing list