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

Unified Diff: LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https.html

Issue 657353002: Mixed Content: Re-allow non-webby URLs in IFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..880e3dd34cd4a53508c501a4fe21d32e94a0ab81
--- /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
+ 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-error-should-appear"></iframe>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/mixedContent/nonwebby-scheme-in-iframe-allowed.https-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698