mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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
16 lines
657 B
JavaScript
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');
|