Closed Bug 1608707 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21141 - WebCryptoAPI: Fix HKDF null length test

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Attachments

(1 file)

Sync web-platform-tests PR 21141 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21141
Details from upstream follow.

Tobias Nießen <tniessen@tnie.de> wrote:

WebCryptoAPI: Fix HKDF null length test

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: https://github.com/nodejs/webcrypto/issues/36

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Attached file Notable wpt changes
# CI Results

Ran 18 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 47 tests

## Status Summary

### Firefox
OK  : 8
PASS: 39[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 4152[Gecko-linux64-asan-opt, Gecko-linux64-debug, Gecko-linux64-opt, Gecko-linux64-qr-debug, Gecko-linux64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] 4191[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview]
FAIL: 3272

### Chrome
OK  : 8
PASS: 6944
FAIL: 480

### Safari
OK  : 8
PASS: 5792
FAIL: 1632

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=b5e47f4e1c68ea21eb890f9675f6edca335e9830)
[GitHub PR Head](https://wpt.fyi/results/?sha=171392994ecb23c4c4a377ad8dae2aafb64ced5c&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=171392994ecb23c4c4a377ad8dae2aafb64ced5c&label=pr_base)

## Details

(See attachment for full changes)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf211553f81f
[wpt PR 21141] - WebCryptoAPI: Fix HKDF null length test, a=testonly
https://hg.mozilla.org/integration/autoland/rev/0f405ffe1885
[wpt PR 21141] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: