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

Unified Diff: LayoutTests/http/tests/security/mixedContent/laxChecking/insecure-sync-post-xhr-allowed-expected.txt

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/laxChecking/insecure-sync-post-xhr-allowed-expected.txt
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed-expected.txt b/LayoutTests/http/tests/security/mixedContent/laxChecking/insecure-sync-post-xhr-allowed-expected.txt
similarity index 65%
copy from LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed-expected.txt
copy to LayoutTests/http/tests/security/mixedContent/laxChecking/insecure-sync-post-xhr-allowed-expected.txt
index 7d76f0bbcc980f854d8a0b16330098190f8baaa3..05b81c3df0c501f58e5c79020fa1e44288185704 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-allowed-expected.txt
+++ b/LayoutTests/http/tests/security/mixedContent/laxChecking/insecure-sync-post-xhr-allowed-expected.txt
@@ -1,6 +1,6 @@
ALERT: Executing script in the child window.
ALERT: XHR POST opened.
-CONSOLE WARNING: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-sync-xhr-post.html' was loaded over HTTPS, but ran insecure content from 'http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type': this content should also be loaded over HTTPS.
+CONSOLE WARNING: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-sync-xhr-post.html' was loaded over HTTPS, but displayed insecure content from 'http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type': this content should also be loaded over HTTPS.
ALERT: XHR POST sent.
This test opens a HTTPS window that loads insecure data via XHR. We should trigger a mixed content callback because the main frame in the window is HTTPS but now has insecure data.

Powered by Google App Engine
This is Rietveld 408576698