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

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

Issue 109773002: Improve precision of error messages from failed CORS checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-sandboxed-iframe-denied-without-wildcard.cgi. The 'Acces s-Control-Allow-Origin' whitelists only 'http://127.0.0.1:8000'. Origin 'null' i s not in the list, and is therefore not allowed access. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-sandboxed-iframe-denied-without-wildcard.cgi. The 'Acces s-Control-Allow-Origin' header has a value 'http://127.0.0.1:8000' that is not e qual to the supplied origin. Origin 'null' is therefore not allowed access.
2 This test verifies that sandboxed iframe does not have XmlHttpRequest access to its server with "Access-Control-Allow-Origin" set to its own origin (127.0.0.1). 2 This test verifies that sandboxed iframe does not have XmlHttpRequest access to its server with "Access-Control-Allow-Origin" set to its own origin (127.0.0.1).
3 3
4 This test will print "PASS" on success. 4 This test will print "PASS" on success.
5 5
6 6
7 7
8 -------- 8 --------
9 Frame: '<!--framePath //<!--frame0-->-->' 9 Frame: '<!--framePath //<!--frame0-->-->'
10 -------- 10 --------
11 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [A net work error occurred.]. 11 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