| Summary: | Add BigInt64Array and BigUint64Array support to crypto.getRandomValues | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Gu <timothygu99> | ||||
| Component: | WebCore Misc. | Assignee: | Yusuke Suzuki <ysuzuki> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, clopez, esprehn+autocc, ews-watchlist, fpizlo, jiewen_tan, katherine_cheney, kondapallykalyan, webkit-bug-importer, youennf, ysuzuki | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://github.com/w3c/webcrypto/issues/255 | ||||||
| Attachments: |
|
||||||
Created attachment 433202 [details]
Patch
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]. |
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.