Chromium Code Reviews| Index: LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https.html |
| diff --git a/LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https.html b/LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f7661c6c86e6d9845fc6426afc6379d23ae5aaf1 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https.html |
| @@ -0,0 +1,18 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<body> |
| +<p> |
| + This tests that non-webby URLs are not blocked as mixed content. The test passes if a mixed |
|
jochen (gone - plz use gerrit)
2014/10/20 13:28:31
nit. 4 spaces indent
|
| + content warning is displayed and the load proceeds. The test fails if a mixed content error |
| + is displayed, and the load is blocked. |
| +</p> |
| +<script> |
| +if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + testRunner.dumpChildFramesAsText(); |
| + testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); |
| +} |
| +</script> |
| +<iframe src="nonwebbyscheme://this-will-fail-but-no-mixed-content-warning-should-appear"></iframe> |
|
jochen (gone - plz use gerrit)
2014/10/20 13:28:31
*-error-*
|
| +</body> |
| +</html> |