blob: eab3e8f697fd2c0523e7228491d1dd7777f12841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!DOCTYPE html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
test(function() {
var wildcard_origin = 'https:';
assert_array_equals(
document.featurePolicy.getAllowlistForFeature('fullscreen'),
[wildcard_origin]);
assert_true(document.featurePolicy.allowsFeature('fullscreen'));
}, 'Test scheme only policy works as expected');
</script>
</body>
|