mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Add the WebAssembly.Instance constructor
This commit is contained in:
committed by
Ali Mohammad Pur
parent
de4cbc8f08
commit
8acc8339d1
Notes:
sideshowbarker
2024-07-18 11:08:49 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/8acc8339d19 Pull-request: https://github.com/SerenityOS/serenity/pull/8358 Reviewed-by: https://github.com/IdanHo Reviewed-by: https://github.com/linusg
@@ -18,7 +18,7 @@
|
||||
namespace Web::Bindings {
|
||||
|
||||
WebAssemblyInstanceObject::WebAssemblyInstanceObject(JS::GlobalObject& global_object, size_t index)
|
||||
: Object(static_cast<Web::Bindings::WindowObject&>(global_object).ensure_web_prototype<WebAssemblyInstancePrototype>(class_name()))
|
||||
: Object(static_cast<Web::Bindings::WindowObject&>(global_object).ensure_web_prototype<WebAssemblyInstancePrototype>("WebAssemblyInstancePrototype"))
|
||||
, m_index(index)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user