Files
firefox/testing/web-platform/tests/WebCryptoAPI/derive_bits_keys/hkdf.https.any.js
T
jugglinmike 074bea6d75 Bug 1591630 [wpt PR 19904] - [WebCryptoAPI] Defer harness completion, a=testonly
Automatic update from web-platform-tests
[WebCryptoAPI] Defer harness completion (#19904)

This change ensures that all subtests are executed when the tests are
evaluated in dedicated worker contexts.
--

wpt-commits: 0b2fcd3261f03fd69acd345dc8c7e55e613f62d8
wpt-pr: 19904

Differential Revision: https://phabricator.services.mozilla.com/D53609
2019-11-20 11:19:41 +00:00

16 lines
657 B
JavaScript

// 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');