tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

hkdf.https.any.js (657B)


      1 // META: title=WebCryptoAPI: deriveBits() and deriveKey() Using HKDF
      2 // META: variant=?1-1000
      3 // META: variant=?1001-2000
      4 // META: variant=?2001-3000
      5 // META: variant=?3001-last
      6 // META: script=/common/subset-tests.js
      7 // META: script=hkdf_vectors.js
      8 // META: script=hkdf.js
      9 
     10 // Define subtests from a `promise_test` to ensure the harness does not
     11 // complete before the subtests are available. `explicit_done` cannot be used
     12 // for this purpose because the global `done` function is automatically invoked
     13 // by the WPT infrastructure in dedicated worker tests defined using the
     14 // "multi-global" pattern.
     15 promise_test(define_tests, 'setup - define tests');