Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/heads/active-script-webidl-callbacks
/
.
/
webusb
/
usb.serviceworker.js
blob: c509adfef0d4c0cd3e68cc84467ac7db1140d643 [
file
] [
log
] [
blame
] [
edit
]
'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
();