Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: LayoutTests/http/tests/security/mixedContent/websocket/resources/expect-successful-construction-worker.html

Issue 222153002: Disallow connecting an insecure WebSocket from a secure page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/mixedContent/websocket/resources/expect-successful-construction-worker.html
diff --git a/LayoutTests/http/tests/security/mixedContent/websocket/resources/expect-successful-construction-worker.html b/LayoutTests/http/tests/security/mixedContent/websocket/resources/expect-successful-construction-worker.html
new file mode 100644
index 0000000000000000000000000000000000000000..a6ddf6bc363a1d1f0bb189a44b5d5f16e795b82e
--- /dev/null
+++ b/LayoutTests/http/tests/security/mixedContent/websocket/resources/expect-successful-construction-worker.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<script>
+
+var worker = new Worker("expect-successful-construction.js");
+worker.onmessage = function (evt)
+{
+ window.opener.postMessage(evt.data, "*");
+};
+
+</script>
+</head>
+<body>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698