mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 08:03:21 +00:00
27 lines
519 B
C++
27 lines
519 B
C++
![]() |
/*
|
||
|
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <LibWeb/Bindings/Intrinsics.h>
|
||
|
#include <LibWeb/HTML/ValidityState.h>
|
||
|
#include <LibWeb/Bindings/ValidityStatePrototype.h>
|
||
|
|
||
|
namespace Web::HTML {
|
||
|
|
||
|
JS_DEFINE_ALLOCATOR(ValidityState);
|
||
|
|
||
|
ValidityState::ValidityState(JS::Realm& realm)
|
||
|
: PlatformObject(realm)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void ValidityState::initialize(JS::Realm& realm)
|
||
|
{
|
||
|
Base::initialize(realm);
|
||
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(ValidityState);
|
||
|
}
|
||
|
|
||
|
}
|