blob: 931fcb66b487623971bf95ae9ae1e04157e5dda3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE html>
<title>Test that compute-pressure is advertised in the feature list</title>
<link rel="help" href="https://w3c.github.io/webappsec-permissions-policy/#dom-permissions-policy-features">
<link rel="help" href="https://wicg.github.io/compute-pressure/#policy-control">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(() => {
assert_in_array('compute-pressure', document.featurePolicy.features());
}, 'document.featurePolicy.features should advertise compute-pressure.');
</script>
|