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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ALERT: Executing script in the child window. 1 ALERT: Executing script in the child window.
2 ALERT: XHR POST opened. 2 ALERT: XHR POST opened.
3 CONSOLE ERROR: [blocked] The page at 'https://127.0.0.1:8443/security/mixedConte nt/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 als o be loaded over HTTPS. 3 CONSOLE ERROR: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixed Content/resources/frame-with-insecure-sync-xhr-post.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:8000/xmlhtt prequest/resources/access-control-allow-lists.php?origin=*&headers=Content-Type' . This request has been blocked; the content must be served over HTTPS.
4
5 ALERT: exception! NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Fa iled to load 'http://localhost:8000/xmlhttprequest/resources/access-control-allo w-lists.php?origin=*&headers=Content-Type'. 4 ALERT: exception! NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Fa iled to load 'http://localhost:8000/xmlhttprequest/resources/access-control-allo w-lists.php?origin=*&headers=Content-Type'.
6 This test opens a HTTPS window that loads insecure data via XHR. We should trigg er a mixed content callback and block the load. 5 This test opens a HTTPS window that loads insecure data via XHR. We should trigg er a mixed content callback and block the load.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698