summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-03-15 19:29:57 -0400
committerAndreas Kling <kling@serenityos.org>2023-03-16 13:54:16 +0100
commitca96f8e364c55f894a9edaa4abb86db0ed5dfb0c (patch)
tree66cffd56c9ef0b320d41527e589ed58d69fa35b8 /Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h
parentde32c44762faa039c250eaa7b0cd0bacf3a7209e (diff)
downloadserenity-ca96f8e364c55f894a9edaa4abb86db0ed5dfb0c.zip
LibWeb: Port WebAssembly.Memory to IDL
Diffstat (limited to 'Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h')
-rw-r--r--Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h28
1 files changed, 0 insertions, 28 deletions
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 <mpfard@serenityos.org>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#pragma once
-
-#include <LibJS/Runtime/NativeFunction.h>
-
-namespace Web::Bindings {
-
-class WebAssemblyMemoryConstructor : public JS::NativeFunction {
- JS_OBJECT(WebAssemblyMemoryConstructor, JS::NativeFunction);
-
-public:
- explicit WebAssemblyMemoryConstructor(JS::Realm&);
- virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
- virtual ~WebAssemblyMemoryConstructor() override;
-
- virtual JS::ThrowCompletionOr<JS::Value> call() override;
- virtual JS::ThrowCompletionOr<JS::NonnullGCPtr<JS::Object>> construct(JS::FunctionObject& new_target) override;
-
-private:
- virtual bool has_constructor() const override { return true; }
-};
-
-}