NEW 238281
Implement ObservableArray
https://bugs.webkit.org/show_bug.cgi?id=238281
Summary Implement ObservableArray
Alex Christensen
Reported 2022-03-23 12:45:20 PDT
It's specified by https://webidl.spec.whatwg.org/#idl-observable-array It's needed by our CSSColor implementation begun in https://bugs.webkit.org/show_bug.cgi?id=238208
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-30 12:46:15 PDT
Chris Dumez
Comment 2 2022-09-26 08:55:24 PDT
We also need this for DocumentOrShadowRoot.adoptedStyleSheets: https://w3c.github.io/csswg-drafts/cssom-1/#extensions-to-the-document-or-shadow-root-interface I'll use a FrozenArray instead for now.
Chris Dumez
Comment 3 2022-10-01 11:35:10 PDT
I added some initial support in https://commits.webkit.org/255061@main. It means you *can* have the behavior of an ObservableArray now but it is not yet as convenient as using ObservableArray<FOO> in the IDL.
Note You need to log in before you can comment on or make changes to this bug.