blob: 6bc54c8d372ff276e54718fadad3a36698337dd2 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>This test loads an iframe that creates an insecure WebSocket connection. We
should block the connection and trigger a mixed content callback because the
main frame is HTTPS, but the data sent over the socket could be recorded or
controlled by an attacker.</p>
<iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-websocket.html"/>