blob: c509adfef0d4c0cd3e68cc84467ac7db1140d643 (
plain)
1
2
3
4
5
6
7
8
9
|
'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();
|