Bug 238281
| Summary: | Implement ObservableArray | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> |
| Component: | Bindings | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/91061145>
Chris Dumez
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
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.