From ca96f8e364c55f894a9edaa4abb86db0ed5dfb0c Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 15 Mar 2023 19:29:57 -0400 Subject: LibWeb: Port WebAssembly.Memory to IDL --- .../WebAssembly/WebAssemblyMemoryConstructor.h | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h (limited to 'Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h') diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h deleted file mode 100644 index ec9c6f2559..0000000000 --- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2021, Ali Mohammad Pur - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#include - -namespace Web::Bindings { - -class WebAssemblyMemoryConstructor : public JS::NativeFunction { - JS_OBJECT(WebAssemblyMemoryConstructor, JS::NativeFunction); - -public: - explicit WebAssemblyMemoryConstructor(JS::Realm&); - virtual JS::ThrowCompletionOr initialize(JS::Realm&) override; - virtual ~WebAssemblyMemoryConstructor() override; - - virtual JS::ThrowCompletionOr call() override; - virtual JS::ThrowCompletionOr> construct(JS::FunctionObject& new_target) override; - -private: - virtual bool has_constructor() const override { return true; } -}; - -} -- cgit v1.2.3