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

Unified Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html

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/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
diff --git a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
index 2dc1c29aaa91c46aeedb99ce90b3f9418de0fe32..12c1d2cdc06a424f2fe062477c6ecdad0fd6ce08 100644
--- a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
@@ -15,7 +15,7 @@
testFailed("xhr.open should throw an exception with a forbidden method type.");
} catch (e) {
xhrException = e;
- shouldBeEqualToString("xhrException.message", "'XMLHttpRequest.open' does not support the 'TRACE' method.");
+ shouldBeEqualToString("xhrException.message", "Failed to execute 'open' on 'XMLHttpRequest': 'TRACE' HTTP method is unsupported.");
}
try {

Powered by Google App Engine
This is Rietveld 408576698