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

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

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch with reset -expected.txt files. Created 6 years, 2 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: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni ng.
1 2
2 3
3 -------- 4 --------
4 Frame: '<!--framePath //<!--frame0-->-->' 5 Frame: '<!--framePath //<!--frame0-->-->'
5 -------- 6 --------
6 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin. 7 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
7 8
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
9 10
10 11
11 Should allow origin: ' http://localhost:8000' 12 Should allow origin: ' http://localhost:8000'
12 PASS xhr.send(null) is undefined. 13 PASS xhr.send(null) is undefined.
13 PASS successfullyParsed is true 14 PASS successfullyParsed is true
14 15
15 TEST COMPLETE 16 TEST COMPLETE
16 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698