RESOLVED FIXED 227611
Add BigInt64Array and BigUint64Array support to crypto.getRandomValues
https://bugs.webkit.org/show_bug.cgi?id=227611
Summary Add BigInt64Array and BigUint64Array support to crypto.getRandomValues
Timothy Gu
Reported 2021-07-01 23:41:50 PDT
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.
Attachments
Patch (145.68 KB, patch)
2021-07-09 00:40 PDT, Yusuke Suzuki
no flags
Radar WebKit Bug Importer
Comment 1 2021-07-08 23:42:15 PDT
Yusuke Suzuki
Comment 2 2021-07-09 00:40:57 PDT
EWS
Comment 3 2021-07-09 09:02:42 PDT
Committed r279785 (239552@main): <https://commits.webkit.org/239552@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433202 [details].
Note You need to log in before you can comment on or make changes to this bug.