chromium/third_party/blink/renderer/modules/hid/worker_navigator_hid.idl

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://wicg.github.io/webhid/index.html#enumeration

[
    Exposed(ServiceWorker WebHIDOnServiceWorkers),
    ImplementedAs=HID,
    RuntimeEnabled=WebHID,
    SecureContext
] partial interface WorkerNavigator {
    [SameObject] readonly attribute HID hid;
};