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

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

Issue 1060113004: [XMLHttpRequest] Stop throwing for network error in async mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebease 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt
diff --git a/LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt b/LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt
index b2a10343851ccc078b31ae1fbf4dbc94ba1f6fdd..ccc83d951ab47eb46d9882f150df9e09143bd93a 100644
--- a/LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt
+++ b/LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt
@@ -1,10 +1,18 @@
-Test that XMLHttpRequest GET succeeds.
+Test that sync XMLHttpRequest GET succeeds.
Status: 200
Response: Hello
-Test that XMLHttpRequest POST fails.
-Received exception, code: 19, name: NetworkError, message: Failed to execute 'send' on 'XMLHttpRequest': 'GET' is the only method allowed for 'blob:' URLs.
-Test that XMLHttpRequest GET fails after the blob URL is revoked.
+Test that sync XMLHttpRequest POST fails.
+Received exception, code: 19, name: NetworkError, message: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'blob:file%3A///UUID': 'GET' is the only method allowed for 'blob:' URLs.
+Test that sync XMLHttpRequest GET fails after the blob URL is revoked.
+Status: 404
+Response:
+Test that async XMLHttpRequest GET succeeds.
+Status: 200
+Response: Hello
+Test that async XMLHttpRequest POST fails.
+Error event is dispatched
+Test that async XMLHttpRequest GET fails after the blob URL is revoked.
Status: 404
Response:
DONE

Powered by Google App Engine
This is Rietveld 408576698