Index: third_party/WebKit/LayoutTests/external/wpt/mixed-content/blockable/http-csp/cross-origin-http/picture-tag/top-level/keep-scheme-redirect/opt-in-blocks.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mixed-content/blockable/http-csp/cross-origin-http/picture-tag/top-level/keep-scheme-redirect/opt-in-blocks.https.html b/third_party/WebKit/LayoutTests/external/wpt/mixed-content/blockable/http-csp/cross-origin-http/picture-tag/top-level/keep-scheme-redirect/opt-in-blocks.https.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6f71158c2160e4ca2634e0d66ae6f0f276f13387 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/mixed-content/blockable/http-csp/cross-origin-http/picture-tag/top-level/keep-scheme-redirect/opt-in-blocks.https.html |
@@ -0,0 +1,40 @@ |
+<!DOCTYPE html> |
+<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/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="opt_in_method: http-csp |
+ origin: cross-origin-http |
+ source_scheme: https |
+ context_nesting: top-level |
+ redirection: keep-scheme-redirect |
+ subresource: picture-tag |
+ expectation: blocked"> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+ <script src="/mixed-content/generic/common.js"></script> |
+ <script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script> |
+ </head> |
+ <body> |
+ <script> |
+ MixedContentTestCase( |
+ { |
+ "opt_in_method": "http-csp", |
+ "origin": "cross-origin-http", |
+ "source_scheme": "https", |
+ "context_nesting": "top-level", |
+ "redirection": "keep-scheme-redirect", |
+ "subresource": "picture-tag", |
+ "expectation": "blocked" |
+ }, |
+ document.querySelector("meta[name=assert]").content, |
+ new SanityChecker() |
+ ).start(); |
+ </script> |
+ <div id="log"></div> |
+ </body> |
+</html> |