LibWeb: Add {,de}serialization steps for DOMPointReadonly

This commit is contained in:
Kenneth Myhra
2024-03-09 23:02:22 +01:00
committed by Andreas Kling
parent 8d2f7cfb58
commit bf4fb39bfb
5 changed files with 59 additions and 1 deletions

View File

@@ -37,6 +37,7 @@
#include <LibWeb/FileAPI/File.h>
#include <LibWeb/Geometry/DOMMatrix.h>
#include <LibWeb/Geometry/DOMMatrixReadOnly.h>
#include <LibWeb/Geometry/DOMPointReadOnly.h>
#include <LibWeb/HTML/MessagePort.h>
#include <LibWeb/HTML/StructuredSerialize.h>
#include <LibWeb/WebIDL/ExceptionOr.h>
@@ -969,6 +970,8 @@ private:
return Geometry::DOMMatrixReadOnly::create(realm);
if (interface_name == "DOMMatrix"sv)
return Geometry::DOMMatrix::create(realm);
if (interface_name == "DOMPointReadOnly"sv)
return Geometry::DOMPointReadOnly::create(realm);
VERIFY_NOT_REACHED();
}