mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibWeb: Port Intrinsics from DeprecatedString
This commit is contained in:
parent
9cd36839d2
commit
96af80acd1
279 changed files with 305 additions and 304 deletions
|
@ -44,7 +44,7 @@ Memory::Memory(JS::Realm& realm, Wasm::MemoryAddress address)
|
|||
void Memory::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::MemoryPrototype>(realm, "WebAssembly.Memory"sv));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::MemoryPrototype>(realm, "WebAssembly.Memory"_fly_string));
|
||||
}
|
||||
|
||||
// https://webassembly.github.io/spec/js-api/#dom-memory-grow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue