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

Unified Diff: LayoutTests/fast/js/script-tests/dfg-custom-getter-throw-inlined.js

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/js/script-tests/dfg-custom-getter-throw-inlined.js
diff --git a/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw-inlined.js b/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw-inlined.js
index 5abc13281956344fda56d6c4d5d271e3a584f3c6..ef24b3a5bcfe61d4dee5228a5525958021ac8390 100644
--- a/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw-inlined.js
+++ b/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw-inlined.js
@@ -22,7 +22,7 @@ function bar(doOpen) {
}
for (var i = 0; i < 200; ++i) {
- shouldBe("bar(i >= 100)", i >= 100 ? "\"Threw exception: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.\"" : "\"Returned result: 0\"");
+ shouldBe("bar(i >= 100)", i >= 100 ? "\"Threw exception: InvalidStateError: Failed to read the 'status' property from 'XMLHttpRequest': the object's state must not be OPENED.\"" : "\"Returned result: 0\"");
}

Powered by Google App Engine
This is Rietveld 408576698