blob: 555bbcc74af3094ec0072a5bab74ea568c46ca21 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://wicg.github.io/webusb/#enumeration
[
Exposed(DedicatedWorker WebUSBOnDedicatedWorkers, SharedWorker WebUSBOnSharedWorkers),
ImplementedAs=WorkerNavigatorUSB,
SecureContext
] partial interface WorkerNavigator {
[CallWith=ScriptState, SameObject] readonly attribute USB usb;
};