mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Update FIXMEs about FrozenArray with more up-to-date description
We could support FrozenArray pretty easily here, but we would regress on SameObject handling.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
ad34fdad48
commit
4e298db4f5
Notes:
github-actions[bot]
2025-04-25 14:44:46 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/4e298db4f56 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4473 Reviewed-by: https://github.com/gmta ✅
@@ -13,7 +13,7 @@ interface MessageEvent : Event {
|
||||
readonly attribute USVString origin;
|
||||
readonly attribute DOMString lastEventId;
|
||||
readonly attribute MessageEventSource? source;
|
||||
// FIXME: readonly attribute FrozenArray<MessagePort> ports;
|
||||
// FIXME: This should be FrozenArray<MessagePort>, but must also always return the same object.
|
||||
readonly attribute any ports;
|
||||
|
||||
undefined initMessageEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any data = null, optional USVString origin = "", optional DOMString lastEventId = "", optional MessageEventSource? source = null, optional sequence<MessagePort> ports = []);
|
||||
|
||||
@@ -21,6 +21,6 @@ interface PerformanceObserver {
|
||||
undefined observe(optional PerformanceObserverInit options = {});
|
||||
undefined disconnect();
|
||||
PerformanceEntryList takeRecords();
|
||||
// FIXME: [SameObject] static readonly attribute FrozenArray<DOMString> supportedEntryTypes;
|
||||
// FIXME: This should be FrozenArray<DOMString>, but must also always return the same object.
|
||||
[SameObject] static readonly attribute any supportedEntryTypes;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user