1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

LibWeb: Implement (most of) NamedNodeMap to store attributes

This commit is contained in:
Timothy Flynn 2021-10-16 15:30:21 -04:00 committed by Linus Groh
parent 454d218716
commit 2a3ac02ef1
6 changed files with 284 additions and 0 deletions

View file

@ -928,6 +928,8 @@ static bool is_wrappable_type(IDL::Type const& type)
return true;
if (type.name == "Attribute")
return true;
if (type.name == "NamedNodeMap")
return true;
return false;
}
@ -1655,6 +1657,7 @@ void generate_implementation(IDL::Interface const& interface)
#include <LibWeb/Bindings/IDLAbstractOperations.h>
#include <LibWeb/Bindings/ImageDataWrapper.h>
#include <LibWeb/Bindings/MessagePortWrapper.h>
#include <LibWeb/Bindings/NamedNodeMapWrapper.h>
#include <LibWeb/Bindings/NodeWrapperFactory.h>
#include <LibWeb/Bindings/TextWrapper.h>
#include <LibWeb/Bindings/WindowObject.h>
@ -2867,6 +2870,7 @@ void generate_prototype_implementation(IDL::Interface const& interface)
#include <LibWeb/Bindings/ImageDataWrapper.h>
#include <LibWeb/Bindings/LocationObject.h>
#include <LibWeb/Bindings/MessagePortWrapper.h>
#include <LibWeb/Bindings/NamedNodeMapWrapper.h>
#include <LibWeb/Bindings/NodeListWrapper.h>
#include <LibWeb/Bindings/NodeWrapperFactory.h>
#include <LibWeb/Bindings/PerformanceTimingWrapper.h>