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

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

Issue 1300083002: Add suggestion to use "no-cors" with Fetch fails CORS check. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch CORS error expectation files to include message about Fetch CORS. Created 5 years, 4 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 WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/. 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck http://xhr.spec.whatwg.org/.
2 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 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. Eith er change the header, or, if you want an opaque response, use the Fetch API in ' no-cors' mode.
3 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 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).
4 4
5 This test will print "PASS" on success. 5 This test will print "PASS" on success.
6 6
7 7
8 8
9 -------- 9 --------
10 Frame: '<!--framePath //<!--frame0-->-->' 10 Frame: '<!--framePath //<!--frame0-->-->'
11 -------- 11 --------
12 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [Faile d to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/x mlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard. cgi'.]. 12 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [Faile d to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/x mlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard. cgi'.].
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698