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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-empty-method-expected.txt

Issue 23041002: Improve 'XMLHttpRequest' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ExceptionMessages. Created 7 years, 4 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/xmlhttprequest-open-empty-method-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-empty-method-expected.txt b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-empty-method-expected.txt
index f425d4fff0a1fc007fadd35ee1188d4efefe3a09..d83ed101f153d8ec224bd1ea56402edcf44e7f94 100644
--- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-empty-method-expected.txt
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-empty-method-expected.txt
@@ -1,3 +1,3 @@
Test that open throws a SYNTAX_ERR exception when called with an empty method.
-SUCCESS: got exception SyntaxError: An invalid or illegal string was specified.
+SUCCESS: got exception SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': '' is not a valid HTTP method.

Powered by Google App Engine
This is Rietveld 408576698