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

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

Issue 561153002: Mixed Content: Migrate ResourceFetcher to the static mixed content checker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixing comment and test. Created 6 years, 3 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-expected.txt
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked-expected.txt b/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked-expected.txt
index cd3f3399e49094374d4775dd69c8cf4abad0a079..8cbbda22469bfa9f7805ce9e22036be219ab2057 100644
--- a/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked-expected.txt
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-sync-post-xhr-blocked-expected.txt
@@ -1,6 +1,5 @@
ALERT: Executing script in the child window.
ALERT: XHR POST opened.
-CONSOLE ERROR: [blocked] 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 ERROR: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-sync-xhr-post.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type'. This request has been blocked; the content must be served over HTTPS.
ALERT: exception! NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type'.
This test opens a HTTPS window that loads insecure data via XHR. We should trigger a mixed content callback and block the load.

Powered by Google App Engine
This is Rietveld 408576698