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