trisquel-icecat/icecat/testing/web-platform/tests/permissions-policy/resources/permissions-policy-ch-ua-high-entropy-values.html
2025-10-06 02:35:48 -06:00

10 lines
386 B
HTML

<!DOCTYPE html>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script>
window.onload = async function() {
const hints = await navigator.userAgentData.getHighEntropyValues(["bitness"]);
const enabled = hints.hasOwnProperty("bitness");
window.parent.postMessage({ type: 'availability-result', enabled }, "*");
};
</script>