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

WebCryptoAPI: Fix HKDF null length test #21141

Merged

Conversation

tniessen
Copy link
Contributor

@tniessen tniessen commented Jan 12, 2020

The Derive Bits operation should throw an OperationError if the length is zero (or null, according to WebIDL). This is also indicated by the comment above the test case.

As expected, this test is currently failing on all platforms.

Refs: nodejs/webcrypto#36

The Derive Bits operation should throw an OperationError if the length
is zero (or null, according to WebIDL). This is also indicated by the
comment above the test case.

Refs: nodejs/webcrypto#36
Copy link
Contributor

@jimsch jimsch left a comment

Choose a reason for hiding this comment

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

Looks right

@tniessen
Copy link
Contributor Author

I don't know why the test failed with a timeout after 2 hours, and why it took that long in the first place.

@foolip
Copy link
Member

foolip commented Jan 16, 2020

@tniessen thanks for filing #20052, and sorry that you ran into this.

I've confirmed that wpt-firefox-nightly-stability was the only failing task so I'll admin merge this.

@foolip foolip merged commit 6c9ab2c into web-platform-tests:master Jan 16, 2020
tniessen added a commit to tniessen/node-webcrypto that referenced this pull request Jan 16, 2020
tniessen added a commit to nodejs/webcrypto that referenced this pull request Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants