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

Side by Side Diff: LayoutTests/fast/files/apply-blob-url-to-xhr-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 2
2 Test that XMLHttpRequest GET succeeds. 3 Test that XMLHttpRequest GET succeeds.
3 Status: 200 4 Status: 200
4 Response: Hello 5 Response: Hello
5 Test that XMLHttpRequest POST fails. 6 Test that XMLHttpRequest POST fails.
6 Received exception, code: 19, name: NetworkError, message: Failed to execute 'se nd' on 'XMLHttpRequest': 'GET' is the only method allowed for 'blob:' URLs. 7 Received exception, code: 19, name: NetworkError, message: Failed to execute 'se nd' on 'XMLHttpRequest': 'GET' is the only method allowed for 'blob:' URLs.
7 Test that XMLHttpRequest GET fails after the blob URL is revoked. 8 Test that XMLHttpRequest GET fails after the blob URL is revoked.
8 Status: 404 9 Status: 404
9 Response: 10 Response:
10 DONE 11 DONE
11 12
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/event-on-xhr-document-expected.txt ('k') | LayoutTests/fast/js/webcore-string-comparison-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698