RESOLVED DUPLICATE of bug 199783 173180
WebAssembly: compile/instantiate/validate don't have the right property descriptors
https://bugs.webkit.org/show_bug.cgi?id=173180
Summary WebAssembly: compile/instantiate/validate don't have the right property descr...
JF Bastien
Reported 2017-06-09 13:36:56 PDT
The following spec tests jsapi.js fail: test(() => { const compileDesc = Object.getOwnPropertyDescriptor(WebAssembly, 'compile'); assert_equals(typeof compileDesc.value, "function"); assert_equals(compileDesc.writable, true); assert_equals(compileDesc.enumerable, false); assert_equals(compileDesc.configurable, true); }, "'WebAssembly.compile' data property"); test(() => { const compile = WebAssembly.compile; const compileDesc = Object.getOwnPropertyDescriptor(WebAssembly, 'compile'); assert_equals(compile, compileDesc.value); assert_equals(compile.length, 1); assert_equals(compile.name, "compile"); }, "'WebAssembly.compile' function"); I'll leave a FIXME for now.
Attachments
Yusuke Suzuki
Comment 1 2021-01-27 16:03:22 PST
Let me check whether this is still true.
Yusuke Suzuki
Comment 2 2021-01-27 16:04:49 PST
This is fixed in 199783 *** This bug has been marked as a duplicate of bug 199783 ***
Note You need to log in before you can comment on or make changes to this bug.