[Webkit-unassigned] [Bug 227611] New: Add BigInt64Array and BigUint64Array support to crypto.getRandomValues

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 1 23:41:50 PDT 2021


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

            Bug ID: 227611
           Summary: Add BigInt64Array and BigUint64Array support to
                    crypto.getRandomValues
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
               URL: https://github.com/w3c/webcrypto/issues/255
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timothygu99 at gmail.com

Given

    const b = new BigInt64Array(10);
    crypto.getRandomValues(b);

I would expect b to be filled with randomly generated 64-bit integers. However, instead I get

    TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object.

Spec change is pending on https://github.com/w3c/webcrypto/issues/255. Tests are in https://github.com/web-platform-tests/wpt/pull/29565.

-- 
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/20210702/d72177e9/attachment.htm>


More information about the webkit-unassigned mailing list