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

Unified Diff: LayoutTests/fast/js/script-tests/dfg-custom-getter-throw.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.js
diff --git a/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw.js b/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw.js
index e2d033fa295d6d6a9757fba08533df0cae7ea542..445ea76446001c1dfb6a7e1f8233f749d8d01ca3 100644
--- a/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw.js
+++ b/LayoutTests/fast/js/script-tests/dfg-custom-getter-throw.js
@@ -18,7 +18,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