Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /webusb/usb.serviceworker.https.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
<div id="log"></div>
<script>
'use strict';
service_worker_test('/webusb/usb.serviceworker.js',
'Ensure that WebUSB is inaccessible from a service worker.');
</script>