| <!DOCTYPE html> |
| <!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using common/security-features/tools/template/test.release.html.template. --> |
| <html> |
| <head> |
| <title>Mixed-Content: Blockable content</title> |
| <meta charset='utf-8'> |
| <meta name="description" content="Test behavior of blockable content."> |
| <link rel="author" title="Kristijan Burnik" href="burnik@chromium.org"> |
| <link rel="help" href="http://www.w3.org/TR/mixed-content/#category-blockable"> |
| <meta name="assert" content="Mixed-Content: Expects blocked for websocket to same-ws origin and no-redirect redirection from https context."> |
| <meta http-equiv="Content-Security-Policy" content="block-all-mixed-content"> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="/common/security-features/resources/common.js"></script> |
| <script src="/mixed-content/generic/test-case.sub.js"></script> |
| </head> |
| <body> |
| <script> |
| TestCase( |
| { |
| "expectation": "blocked", |
| "origin": "same-ws", |
| "redirection": "no-redirect", |
| "source_context_list": [], |
| "source_scheme": "https", |
| "subresource": "websocket", |
| "subresource_policy_deliveries": [] |
| }, |
| document.querySelector("meta[name=assert]").content, |
| new SanityChecker() |
| ).start(); |
| </script> |
| <div id="log"></div> |
| </body> |
| </html> |