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