[Webkit-unassigned] [Bug 173180] New: WebAssembly: compile/instantiate/validate don't have the right property descriptors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 9 13:36:56 PDT 2017


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

            Bug ID: 173180
           Summary: WebAssembly: compile/instantiate/validate don't have
                    the right property descriptors
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfbastien at apple.com
                CC: fpizlo at apple.com, jfbastien at apple.com,
                    keith_miller at apple.com, mark.lam at apple.com,
                    msaboff at apple.com, sbarati at apple.com
            Blocks: 161709

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.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=161709
[Bug 161709] WebAssembly: add support for the JS API
-- 
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/20170609/44258358/attachment.html>


More information about the webkit-unassigned mailing list