LibWeb: Implement HTMLAllCollection

This collection has some pretty strange behaviour, particularly with the
IsHTMLDDA slot which is defined in the javascript spec specifically for
this object.

This commit implements pretty much all of this interface, besides from
the custom [[Call]].

There is also no caching over this collection. Since it is a live
collection over the entire document, the performance is never going to
be great, and I am not convinced any speedup for this legacy interface
is worth a massive cache.
This commit is contained in:
Shannon Booth 2024-04-01 08:44:24 +02:00 committed by Andreas Kling
commit 1f59e21829
Notes: sideshowbarker 2024-07-16 18:03:21 +09:00
6 changed files with 312 additions and 0 deletions

View file

@ -347,6 +347,7 @@ class EventLoop;
class FormAssociatedElement;
class FormDataEvent;
class History;
class HTMLAllCollection;
class HTMLAnchorElement;
class HTMLAreaElement;
class HTMLAudioElement;