From 8fa0730b840fb904c4535881d6e4d91f818bf2af Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Sun, 31 Mar 2024 10:08:51 +0200 Subject: [PATCH] LibWeb: Remove resolved FIXME about caching in HTMLCollection --- Userland/Libraries/LibWeb/DOM/HTMLCollection.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibWeb/DOM/HTMLCollection.h b/Userland/Libraries/LibWeb/DOM/HTMLCollection.h index 563061c0820..40a89fdc3ee 100644 --- a/Userland/Libraries/LibWeb/DOM/HTMLCollection.h +++ b/Userland/Libraries/LibWeb/DOM/HTMLCollection.h @@ -21,10 +21,6 @@ namespace Web::DOM { // The filter is a simple Function object that answers the question // "is this Element part of the collection?" -// FIXME: HTMLCollection currently does no caching. It will re-filter on every access! -// We should teach it how to cache results. The main challenge is invalidating -// these caches, since this needs to happen on various kinds of DOM mutation. - class HTMLCollection : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(HTMLCollection, Bindings::PlatformObject); JS_DECLARE_ALLOCATOR(HTMLCollection);