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

Unified Diff: LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html

Issue 957263002: Mixed Content: Explicitly allow blockable content for specific tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
diff --git a/LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html b/LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
index 8ca35045069bfc0a3e87f4351bf93f0e0dd199ca..b9b36bb946cc3f9262b36cb1916b93f2607aad57 100644
--- a/LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
+++ b/LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
@@ -1,8 +1,10 @@
<html>
<body>
<script>
-if (window.testRunner)
+if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.overridePreference("WebKitAllowRunningInsecureContent", true);
+}
</script>
<p>This test loads a secure iframe that loads an insecure script (but with a
tricky redirect). We should trigger a mixed content callback because an active
« no previous file with comments | « LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698