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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <html> 1 <!DOCTYPE html>
2 <body>
3 <script> 2 <script>
4 if (window.testRunner) { 3 if (window.testRunner) {
5 testRunner.waitUntilDone(); 4 testRunner.waitUntilDone();
6 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows(); 6 testRunner.setCanOpenWindows();
8 testRunner.setCloseRemainingWindowsWhenComplete(true); 7 testRunner.setCloseRemainingWindowsWhenComplete(true);
9 } 8 }
10 9
11 window.addEventListener("message", function (e) { 10 window.addEventListener("message", function (e) {
12 if (window.testRunner) 11 if (window.testRunner)
13 testRunner.notifyDone(); 12 testRunner.notifyDone();
14 }, false); 13 }, false);
15
16 </script> 14 </script>
17 <p>This test opens a window that loads an insecure style sheet. We should 15 <p>This test opens a window that loads a style sheet which fetches an insecure
18 trigger a mixed content callback because the main frame in the window is HTTPS 16 background image and an insecure web font. We should trigger a mixed content
19 but is running insecure content.</p> 17 callback because the main frame in the window is HTTPS but is running insecure
18 content.</p>
20 <script> 19 <script>
21 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-css.html"); 20 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-css-resources.html");
22 </script> 21 </script>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698