1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

LibJS: Make IsHTMLDDA non-constructible

This commit is contained in:
davidot 2022-08-20 00:51:47 +02:00 committed by Linus Groh
parent 78bc84c2d8
commit f53aa5bfbb
2 changed files with 0 additions and 10 deletions

View file

@ -18,10 +18,8 @@ public:
virtual ~IsHTMLDDA() override = default;
virtual ThrowCompletionOr<Value> call() override;
virtual ThrowCompletionOr<Object*> construct(FunctionObject& new_target) override;
private:
virtual bool has_constructor() const override { return true; }
virtual bool is_htmldda() const override { return true; }
};