summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/document-picture-in-picture/requires-secure-context.html
blob: 494bc2ae758582ad7934399af77d92401b24ff86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!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>