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

Side by Side Diff: LayoutTests/http/tests/security/mixedContent/upgrade-image.https.html

Issue 901903003: CSP: Adding the 'upgrade-insecure-requests' directive. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-content ">
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.dumpResourceLoadCallbacks();
9 testRunner.dumpResourceRequestCallbacks();
10 testRunner.overridePreference("WebKitAllowDisplayingInsecureContent" , false);
11 }
12 </script>
13 </head>
14 <body>
15 <p>This test passes if the image below is loaded securely.</p>
16 <img src="http://127.0.0.1:8080/security/resources/compass.jpg">
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698