mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
13 lines
443 B
HTML
13 lines
443 B
HTML
<!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>
|