1// META: title=WebCryptoAPI: deriveKey() Using ECDH 2// META: script=ecdh_keys.js 3 4// Define subtests from a `promise_test` to ensure the harness does not 5// complete before the subtests are available. `explicit_done` cannot be used 6// for this purpose because the global `done` function is automatically invoked 7// by the WPT infrastructure in dedicated worker tests defined using the 8// "multi-global" pattern. 9promise_test(define_tests, 'setup - define tests'); 10