mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 17:51:03 +00:00
27 lines
512 B
C
27 lines
512 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibJS/Runtime/NativeFunction.h>
|
||
|
|
|
||
|
|
namespace JS::Test262 {
|
||
|
|
|
||
|
|
class IsHTMLDDA final : public NativeFunction {
|
||
|
|
JS_OBJECT(IsHTMLDDA, NativeFunction);
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit IsHTMLDDA(JS::GlobalObject&);
|
||
|
|
virtual ~IsHTMLDDA() override = default;
|
||
|
|
|
||
|
|
virtual ThrowCompletionOr<Value> call() override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
virtual bool is_htmldda() const override { return true; }
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|