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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt

Issue 20735002: CORS: Fix the handling of redirected request containing Origin null. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
OLDNEW
1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-sandboxed-iframe-denied.cgi. Cannot make any requests from null. 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-sandboxed-iframe-denied.cgi. Origin null is not allowe d by Access-Control-Allow-Origin.
2 This test verifies that sandboxed iframe does not have XmlHttpRequest access to its server. It will print "PASS" on success. 2 This test verifies that sandboxed iframe does not have XmlHttpRequest access to its server. It will print "PASS" on success.
3 3
4 4
5 5
6 -------- 6 --------
7 Frame: '<!--framePath //<!--frame0-->-->' 7 Frame: '<!--framePath //<!--frame0-->-->'
8 -------- 8 --------
9 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [A net work error occurred.]. 9 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [A net work error occurred.].
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698