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

Unified Diff: LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked.html

Issue 356843006: Add "lax mixed content checking" runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 6 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/insecure-sync-post-xhr-blocked.html
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked.html b/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked.html
index 0f13fc254a8d52cb1d12ef790530f1a3350dfa49..de1664153f3d10dc798758f3fa7fc3249c28053a 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked.html
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked.html
@@ -8,6 +8,9 @@ if (window.testRunner) {
testRunner.setCloseRemainingWindowsWhenComplete(true);
testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);
}
+if (window.internals)
+ internals.settings.setLaxMixedContentCheckingEnabled(false);
+
window.addEventListener("message", function (e) {
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698