|
|
@@ -2708,7 +2708,7 @@ namespace Js
|
|
|
JavascriptLibrary* library = constructor->GetLibrary();
|
|
|
ScriptContext* scriptContext = constructor->GetScriptContext();
|
|
|
library->AddMember(constructor, PropertyIds::length, TaggedInt::ToVarUnchecked(1), PropertyConfigurable);
|
|
|
- library->AddMember(constructor, PropertyIds::prototype, library->webAssemblyInstancePrototype, PropertyNone);
|
|
|
+ library->AddMember(constructor, PropertyIds::prototype, library->webAssemblyMemoryPrototype, PropertyNone);
|
|
|
if (scriptContext->GetConfig()->IsES6FunctionNameEnabled())
|
|
|
{
|
|
|
library->AddMember(constructor, PropertyIds::name, library->CreateStringFromCppLiteral(_u("WebAssemblyMemory")), PropertyConfigurable);
|