Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(op_crates/crypto): Test crypto.getRandomValues() with wpt #9016

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

yacinehmito
Copy link
Contributor

@yacinehmito yacinehmito commented Jan 5, 2021

Fixed crypto.getRandomValues() so that it passes the tests from web-platform-tests. The core logic doesn't really change: it just adds validation that is expected in the W3C recommandation.

This follows #8990 and precedes #8984.

@yacinehmito
Copy link
Contributor Author

Requires #9015 to be merged first.

Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM at a quick glance.

@yacinehmito yacinehmito force-pushed the test-crypto-getrandomvalues branch from 976ac1e to d1e9aad Compare January 9, 2021 10:38
@yacinehmito yacinehmito marked this pull request as ready for review January 9, 2021 10:38
@yacinehmito yacinehmito force-pushed the test-crypto-getrandomvalues branch from d1e9aad to d35c7be Compare January 9, 2021 10:52
@yacinehmito
Copy link
Contributor Author

@lucacasonato I think this is mergeable.

@yacinehmito yacinehmito force-pushed the test-crypto-getrandomvalues branch from d35c7be to 1be8cdc Compare January 9, 2021 15:34
@ry ry merged commit f7e09c6 into denoland:master Jan 10, 2021
@ry
Copy link
Member

ry commented Jan 10, 2021

Thanks @yacinehmito

@yacinehmito yacinehmito deleted the test-crypto-getrandomvalues branch January 10, 2021 17:01
@yacinehmito yacinehmito restored the test-crypto-getrandomvalues branch January 10, 2021 17:02
@yacinehmito yacinehmito deleted the test-crypto-getrandomvalues branch January 10, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants