Chromium Code Reviews| Index: LayoutTests/http/tests/security/mixedContent/websocket/resources/insecure-websocket-in-secure-worker.html |
| diff --git a/LayoutTests/http/tests/security/mixedContent/websocket/resources/insecure-websocket-in-secure-worker.html b/LayoutTests/http/tests/security/mixedContent/websocket/resources/insecure-websocket-in-secure-worker.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fc4ae7acaf511b8c473a6c93ca6b35599a860dd2 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/security/mixedContent/websocket/resources/insecure-websocket-in-secure-worker.html |
| @@ -0,0 +1,15 @@ |
| +<html> |
| +<head> |
| +<script> |
| + |
| +var worker = new Worker("https://127.0.0.1:8443/security/mixedContent/websocket/resources/expect-throw-on-construction.js"); |
| +worker.onmessage = function (evt) |
| +{ |
| + window.opener.postMessage(evt.data, "*"); |
| +}; |
| + |
| +</script> |
| +</head> |
| +<body> |
| +</body> |
| +</html> |