From 4e298db4f5624367d2e9c7dabb8cdb07c608ef27 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 25 Apr 2025 10:13:26 -0400 Subject: [PATCH] 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. --- Libraries/LibWeb/HTML/MessageEvent.idl | 2 +- Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/LibWeb/HTML/MessageEvent.idl b/Libraries/LibWeb/HTML/MessageEvent.idl index a85cb1e3eb1..24b3201258b 100644 --- a/Libraries/LibWeb/HTML/MessageEvent.idl +++ b/Libraries/LibWeb/HTML/MessageEvent.idl @@ -13,7 +13,7 @@ interface MessageEvent : Event { readonly attribute USVString origin; readonly attribute DOMString lastEventId; readonly attribute MessageEventSource? source; - // FIXME: readonly attribute FrozenArray ports; + // FIXME: This should be FrozenArray, 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 ports = []); diff --git a/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl b/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl index d8818b111c6..c11d8411ff3 100644 --- a/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl +++ b/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl @@ -21,6 +21,6 @@ interface PerformanceObserver { undefined observe(optional PerformanceObserverInit options = {}); undefined disconnect(); PerformanceEntryList takeRecords(); - // FIXME: [SameObject] static readonly attribute FrozenArray supportedEntryTypes; + // FIXME: This should be FrozenArray, but must also always return the same object. [SameObject] static readonly attribute any supportedEntryTypes; };