blob: 9ad1cfb5b7e9853451b0b9bf15ee0f6b0f89b7c4 [file] [log] [blame]
// Copyright 2019 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.
[
SecureContext,
Exposed=(DedicatedWorker,Window),
Constructor(DOMString type, WakeLockEventInit init),
RuntimeEnabled=WakeLock
] interface WakeLockEvent : Event {
readonly attribute WakeLockSentinel lock;
};