Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 422 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.html?1-1000 - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.html?1001-2000 - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.html?2001-3000 - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.html?3001-last - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.worker.html?1-1000 - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.worker.html?1001-2000 - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.worker.html?2001-3000 - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/hkdf.https.any.worker.html?3001-last - WPT Dashboard Interop Dashboard
// META: title=WebCryptoAPI: deriveBits() and deriveKey() Using HKDF
// META: variant=?1-1000
// META: variant=?1001-2000
// META: variant=?2001-3000
// META: variant=?3001-last
// META: script=/common/subset-tests.js
// META: script=hkdf_vectors.js
// META: script=hkdf.js
// Define subtests from a `promise_test` to ensure the harness does not
// complete before the subtests are available. `explicit_done` cannot be used
// for this purpose because the global `done` function is automatically invoked
// by the WPT infrastructure in dedicated worker tests defined using the
// "multi-global" pattern.
promise_test(define_tests, 'setup - define tests');