chromium/third_party/blink/web_tests/external/wpt/permissions-policy/resources/permissions-policy-compute-pressure.html

<!DOCTYPE html>
<script>
'use strict';

window.onload = async function() {
  let enabled = true;
  try {
    const observer = new PressureObserver(() => {});
    await observer.observe("cpu");
    observer.disconnect();
  } catch (e) {
    enabled = false;
  }
  parent.postMessage({ type: 'availability-result', enabled }, '*');
}
</script>