mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:37:35 +00:00
LibWeb/WebIDL: Introduce ObservableArray
ObservableArray inherits from JS::Array and overrides `internal_set` and `internal_delete` to run an interceptor callback when an indexed item is added or deleted.
This commit is contained in:
parent
75a8d37c99
commit
fceba6a257
4 changed files with 114 additions and 1 deletions
|
@ -647,6 +647,7 @@ set(SOURCES
|
|||
WebIDL/Buffers.cpp
|
||||
WebIDL/CallbackType.cpp
|
||||
WebIDL/DOMException.cpp
|
||||
WebIDL/ObservableArray.cpp
|
||||
WebIDL/OverloadResolution.cpp
|
||||
WebIDL/Promise.cpp
|
||||
WebSockets/WebSocket.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue