blob: 0fa69ff96a03b36d3fbd3de15a70f9b199074ebc [file] [log] [blame]
<!doctype html>
<meta charset=utf-8>
<title>Test "screen-wake-lock" Permission.</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id="log"></div>
<script>
promise_test(async () => {
const result = await navigator.permissions.query({
name: "screen-wake-lock",
});
assert_true(result instanceof PermissionStatus);
});
</script>