Source code

Revision control

Copy as Markdown

Other Tools

'use strict';
importScripts('/resources/testharness.js');
test(() => {
assert_equals(typeof navigator.usb, 'undefined',
'navigator.usb should not be a USB object');
}, 'Service workers should not have access to the WebUSB API.');
done();