[Webkit-unassigned] [Bug 219600] Support JS type reflections in WebAssembly JS-API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 7 23:17:30 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219600

--- Comment #3 from Yusuke Suzuki <ysuzuki at apple.com> ---
Comment on attachment 415554
  --> https://bugs.webkit.org/attachment.cgi?id=415554
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=415554&action=review

> Source/JavaScriptCore/wasm/js/WebAssemblyMemoryConstructor.cpp:77
> +            return JSValue::encode(throwException(globalObject, throwScope, createTypeError(globalObject, "WebAssembly.Memory specify exactly one of 'initial' or 'minimum'")));

Use `return throwVMTypeError(...)`.

> Source/JavaScriptCore/wasm/js/WebAssemblyTableConstructor.cpp:87
> +        return JSValue::encode(throwException(globalObject, throwScope, createTypeError(globalObject, "WebAssembly.Table exactly one of 'initial' or 'minimum'")));

Ditto.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201208/8c2b9c01/attachment.htm>


More information about the webkit-unassigned mailing list