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

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

Issue 2940553003: Failure in reading Blob URL should results in network error
Patch Set: . Created 3 years, 6 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 sync 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 sync XMLHttpRequest POST fails.
6 Received exception, code: 19, name: NetworkError, message: Failed to execute 'se nd' on 'XMLHttpRequest': Failed to load 'blob:file:///UUID': 'GET' is the only m ethod allowed for 'blob:' URLs. 6 Received exception, code: 19, name: NetworkError, message: Failed to execute 'se nd' on 'XMLHttpRequest': Failed to load 'blob:file:///UUID': 'GET' is the only m ethod allowed for 'blob:' URLs.
7 Test that sync XMLHttpRequest GET fails after the blob URL is revoked. 7 Test that sync XMLHttpRequest GET fails after the blob URL is revoked.
8 Status: 404 8 Received exception, code: 19, name: NetworkError, message: Failed to execute 'se nd' on 'XMLHttpRequest': Failed to load 'blob:file:///UUID'.
9 Response:
10 Test that async XMLHttpRequest GET succeeds. 9 Test that async XMLHttpRequest GET succeeds.
11 Status: 200 10 Status: 200
12 Response: Hello 11 Response: Hello
13 Test that async XMLHttpRequest POST fails. 12 Test that async XMLHttpRequest POST fails.
14 Error event is dispatched 13 Error event is dispatched
15 Test the slicing the blob response doesn't crash the browser. 14 Test the slicing the blob response doesn't crash the browser.
16 Status: 200 15 Status: 200
17 First byte of response: H 16 First byte of response: H
18 Test that async XMLHttpRequest GET fails after the blob URL is revoked. 17 Test that async XMLHttpRequest GET fails after the blob URL is revoked.
19 Status: 404 18 Error event is dispatched
20 Response:
21 DONE 19 DONE
22 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698