blob: 494bc2ae758582ad7934399af77d92401b24ff86 [file] [log] [blame]
<!DOCTYPE html>
<title>Test that documentPictureInPicture is not available in insecure contexts</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
test(() => {
assert_equals(undefined, window.documentPictureInPicture);
},
"documentPictureInPicture should not be available in insecure contexts");
</script>
</body>