Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.html - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.worker.html - WPT Dashboard Interop Dashboard
// META: title=WebCryptoAPI: deriveBits() Using ECDH
// META: script=ecdh_bits.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');