[Webkit-unassigned] [Bug 253814] Concat with a CSSStyleSheet and shadowRoot.adoptedStyleSheets returns array in array

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 13 08:04:12 PDT 2023


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

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
Ecmascript for concat [1] says to rely on IsConcatSpreadable() [2]. IsConcatSpreadable() checks the @@isConcatSpreadable symbol and then fallback to calling IsArray() [3].

ObservableArray is defined here [4].

[1] https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.concat
[2] https://tc39.es/ecma262/multipage/indexed-collections.html#sec-isconcatspreadable
[3] https://tc39.es/ecma262/multipage/abstract-operations.html#sec-isarray
[4] https://webidl.spec.whatwg.org/#es-observable-array

-- 
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/20230313/e5642f24/attachment.htm>


More information about the webkit-unassigned mailing list