blob: bac818238a83f7d8666edc51315673688095e25b [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<script src="resources/get-user-media.js"></script>
<script>
let testInfo = {
shouldSucceed : true,
depth: 1,
mainFrame : { protocol : "https:", host: "127.0.0.1", port: 8443 },
iFrame : { protocol : "https:", host: "127.0.0.1", port: 8443, pathname: "/ssl/media-stream/resources/get-user-media-frame.html" }
};
description("Tests that getUserMedia is allowed when the top level document and iframe have the same origin and are both on a secure connection.");
</script>
</head>
<body>
<div id="console"></div>
</body>
</html>