Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /compute-pressure/permissions-policy/compute-pressure-supported-by-permissions-policy.html - WPT Dashboard Interop Dashboard
<!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">
<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>