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

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

Issue 314893003: Set referrer for CSS resources (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/insecure-css-resources.html
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-css-in-main-frame.html b/LayoutTests/http/tests/security/mixedContent/insecure-css-resources.html
similarity index 56%
copy from LayoutTests/http/tests/security/mixedContent/insecure-css-in-main-frame.html
copy to LayoutTests/http/tests/security/mixedContent/insecure-css-resources.html
index f226ffbe1b2f0fdb02138fdb0d9792bf78af6e30..d472e374003b320834912edc93f1f894bd908972 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-css-in-main-frame.html
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-css-resources.html
@@ -1,5 +1,4 @@
-<html>
-<body>
+<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
@@ -12,13 +11,11 @@ window.addEventListener("message", function (e) {
if (window.testRunner)
testRunner.notifyDone();
}, false);
-
</script>
-<p>This test opens a window that loads an insecure style sheet. We should
-trigger a mixed content callback because the main frame in the window is HTTPS
-but is running insecure content.</p>
+<p>This test opens a window that loads a style sheet which fetches an insecure
+background image and an insecure web font. We should trigger a mixed content
+callback because the main frame in the window is HTTPS but is running insecure
+content.</p>
<script>
-window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-css.html");
+window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-css-resources.html");
</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698