Sign in
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/tags/merge_pr_34226
/
.
/
webusb
/
usb.serviceworker.js
blob: c509adfef0d4c0cd3e68cc84467ac7db1140d643 [
file
] [
log
] [
blame
]
'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
();