| Index: LayoutTests/http/tests/security/mixedContent/upgrade-image.https.html
|
| diff --git a/LayoutTests/http/tests/security/mixedContent/upgrade-image.https.html b/LayoutTests/http/tests/security/mixedContent/upgrade-image.https.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3ef8ecfa4a8f228c2d5319484cd21d2746713fb2
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/mixedContent/upgrade-image.https.html
|
| @@ -0,0 +1,18 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| + <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-content">
|
| + <script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.dumpResourceLoadCallbacks();
|
| + testRunner.dumpResourceRequestCallbacks();
|
| + testRunner.overridePreference("WebKitAllowDisplayingInsecureContent", false);
|
| + }
|
| + </script>
|
| +</head>
|
| +<body>
|
| + <p>This test passes if the image below is loaded securely.</p>
|
| + <img src="http://127.0.0.1:8080/security/resources/compass.jpg">
|
| +</body>
|
| +</html>
|
|
|