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

Unified Diff: LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-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
Index: LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
diff --git a/LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html b/LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
index 7b85d5d07b286a7638c5d7a19b02ad188b24b78a..6be40d0ae84e93be9137b01901228e6a78be6dc9 100644
--- a/LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
+++ b/LayoutTests/http/tests/security/mixedContent/redirect-http-to-https-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

Powered by Google App Engine
This is Rietveld 408576698