blob: 2c61f41311db3f9edf0502ea752ca27970eed3fb [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>Wake Lock API is not exposed in an insecure context</title>
<link rel="help" href="https://w3c.github.io/wake-lock/#wake-locks">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(t => {
assert_false("WakeLock" in self, "'WakeLock' must not be exposed");
}, "Wake Lock API is not exposed in an insecure context");
</script>