Bug 238281

Summary: Implement ObservableArray
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: BindingsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ashvayka, cdumez, ggaren, graouts, rego, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=245648
https://bugs.webkit.org/show_bug.cgi?id=245579
Bug Depends on: 245689    
Bug Blocks: 260716    

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.