servo/tests/wpt/web-platform-tests/origin-policy/origin-policy-features.https.tentative.html

16 lines
418 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
</head>
<body>
<script>
async_test(t => {
assert_false(document.featurePolicy.allowsFeature('geolocation'));
assert_true(document.featurePolicy.allowsFeature('camera'));
t.done();
}, "Origin-Policy-based Feature policy");
</script>
</body>
</html>