summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html
blob: 35f09b7b07ec593fd8f14eeb0cc4a7839f7f3c8c (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://w3c.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>