blob: fd2dcfe7c7c299e01236fe20c2582cff7d15beee [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<style>
iframe { border: 1px solid black; width: 400px; height: 400px;}
</style>
<script src="../../resources/js-test-pre.js"></script>
<script src="resources/get-user-media.js"></script>
<script>
let testInfo = {
shouldSucceed : false,
depth: 3,
mainFrame : { protocol : "https:", host: "127.0.0.1", port: 8443 },
iFrame : { protocol : "https:", host: "localhost", port: 8443, pathname: "/ssl/media-stream/resources/get-user-media-frame.html" }
};
description("Tests that getUserMedia fails when the top level document and iframe do not have the same domain.");
</script>
</head>
<body>
<div id="console"></div>
<script src="../../../../resources/js-test-post.js"></script>
</body>
</html>