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

Unified Diff: LayoutTests/http/tests/security/mixedContent/strict-mode-image-blocked.https.html

Issue 811773002: Mixed Content: Implement strict mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests. Created 6 years 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/strict-mode-image-blocked.https.html
diff --git a/LayoutTests/http/tests/security/mixedContent/strict-mode-image-blocked.https.html b/LayoutTests/http/tests/security/mixedContent/strict-mode-image-blocked.https.html
new file mode 100644
index 0000000000000000000000000000000000000000..5b7cd75dee16de278a7149a6ac15eb7bdb221ee5
--- /dev/null
+++ b/LayoutTests/http/tests/security/mixedContent/strict-mode-image-blocked.https.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html>
+<head>
+ <meta http-equiv="Content-Security-Policy" content="strict-mixed-content-checking">
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ }
+ </script>
+</head>
+<body>
+ <p>This test passes if the image below is treated as blockable content.</p>
+ <img src="http://127.0.0.1:8080/security/resources/compass.jpg">
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698