mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 20:32:12 +00:00
LibWeb: Add the WebAssembly.Instance constructor
This commit is contained in:
parent
de4cbc8f08
commit
8acc8339d1
6 changed files with 173 additions and 50 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue