https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8c228b827f2f7d2d317a13f48ff6022b0da5b10a authored by Luke Bjerring on 20 July 2018, 17:32:08 UTC
Try to automate u2f authentication, with vendor-specific implementations of what 'authenticate_u2f' would be.
Tip revision: 8c228b8
service_worker_idl.https.html
<!DOCTYPE html>
<head>
    <meta charset='utf-8' />
    <script src="/resources/testharness.js"></script>
    <script src='/resources/testharnessreport.js'></script>
    <script>
      (async () => {
        const scope = 'does/not/exist'

        let registration = await navigator.serviceWorker.getRegistration(scope)
        if (registration)
          await registration.unregister()
        registration = await navigator.serviceWorker.register('./sw.js', {scope})

        fetch_tests_from_worker(registration.installing)
      })()
    </script>
</head>
back to top