// GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into reffy-reports // (https://github.com/tidoust/reffy-reports) // Source: Wake Lock API (https://w3c.github.io/wake-lock/) dictionary WakeLockPermissionDescriptor : PermissionDescriptor { WakeLockType type; }; enum WakeLockType { "screen", "system" }; [Constructor(WakeLockType type), SecureContext, Exposed=(DedicatedWorker,Window)] interface WakeLock : EventTarget { [Exposed=Window] static Promise requestPermission(WakeLockType type); readonly attribute WakeLockType type; readonly attribute boolean active; attribute EventHandler onactivechange; Promise request(); void abort(); static sequence query(optional WakeLockQueryFilter filter); }; dictionary WakeLockQueryFilter { WakeLockType? type; boolean? active; };