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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt b/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt
index deef009f3feb5cf026661907f52c74bdc0e66d3b..8e7b6d5114a015eb7ec1e2152b220f420f44a8aa 100644
--- a/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt
@@ -12,21 +12,21 @@
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:1291a/'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:1291a/'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ftp://127.0.0.1/'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ftp://127.0.0.1/'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'localhost:8080/'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'localhost:8080/'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'tel:1234'..
PASS errorEvent.type is "error"
-PASS xhr.send() did not throw exception.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'tel:1234'..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698