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

Unified Diff: LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-css-image.html

Issue 439223005: Resources restored from CSS cache should be able to trigger InsecureContent messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: adjust shouldBlockFetch call to current code Created 6 years, 3 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/resources/frame-with-insecure-css-image.html
diff --git a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-css-image.html b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-css-image.html
new file mode 100644
index 0000000000000000000000000000000000000000..829fbccc165e041824275f06b8c9391fc963fdea
--- /dev/null
+++ b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-css-image.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<!-- External css file needed to trigger a css cache image load -->
+<link href="fetch-insecure-css-image.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<img id="insecure-css-img">
+<script>
+window.addEventListener("load", function() {
+ if (parent.window)
+ parent.window.postMessage('done', '*');
+}, false);
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698