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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/origin-exact-matching/32-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added needsrebaseline for win_rel. Created 6 years, 1 month 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 ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*http%3A%2F%2F*. The 'Access-Cont rol-Allow-Origin' header contains the invalid value '*http://*'. Origin 'http:// localhost:8000' is therefore not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*http%3A%2F%2F*. The 'Access-Cont rol-Allow-Origin' header contains the invalid value '*http://*'. Origin 'http:// localhost:8000' is therefore not allowed access.
2 3
3 4
4 -------- 5 --------
5 Frame: '<!--framePath //<!--frame0-->-->' 6 Frame: '<!--framePath //<!--frame0-->-->'
6 -------- 7 --------
7 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin. 8 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
8 9
9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
10 11
11 12
12 Should disallow origin: '*http://*' 13 Should disallow origin: '*http://*'
13 PASS xhr.send(null) threw exception NetworkError: Failed to execute 'send' on 'X MLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/a ccess-control-allow-lists.php?origin=*http%3A%2F%2F*'.. 14 PASS xhr.send(null) threw exception NetworkError: Failed to execute 'send' on 'X MLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/a ccess-control-allow-lists.php?origin=*http%3A%2F%2F*'..
14 PASS successfullyParsed is true 15 PASS successfullyParsed is true
15 16
16 TEST COMPLETE 17 TEST COMPLETE
17 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698