https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 236b2316d3ee4ed8ad02a65bc8a112e848e05884 authored by Kinuko Yasuda on 21 December 2018, 06:37:11 UTC
Add a test for ServiceWorker and AppCache interaction with claim()
Tip revision: 236b231
usb.serviceworker.https.html
<!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>
back to top