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

Side by Side Diff: LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt

Issue 1240503004: Revert of [XMLHttpRequest] Stop throwing for network error in async mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 1
2 Test that sync XMLHttpRequest GET succeeds. 2 Test that XMLHttpRequest GET succeeds.
3 Status: 200 3 Status: 200
4 Response: Hello 4 Response: Hello
5 Test that sync XMLHttpRequest POST fails. 5 Test that XMLHttpRequest POST fails.
6 Received exception, code: 19, name: NetworkError, message: Failed to execute 'se nd' on 'XMLHttpRequest': Failed to load 'blob:file%3A///UUID': 'GET' is the only method allowed for 'blob:' URLs. 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 Test that sync XMLHttpRequest GET fails after the blob URL is revoked. 7 Test that XMLHttpRequest GET fails after the blob URL is revoked.
8 Status: 404
9 Response:
10 Test that async XMLHttpRequest GET succeeds.
11 Status: 200
12 Response: Hello
13 Test that async XMLHttpRequest POST fails.
14 Error event is dispatched
15 Test that async XMLHttpRequest GET fails after the blob URL is revoked.
16 Status: 404 8 Status: 404
17 Response: 9 Response:
18 DONE 10 DONE
19 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698