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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 8485cd247b6e24cd68c4cf03fbfee0bbf1dad8e9..e2d033fa295d6d6a9757fba08533df0cae7ea542 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: Error: InvalidStateError: DOM Exception 11\"" : "\"Returned result: 0\"");
+ 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\"");
}

Powered by Google App Engine
This is Rietveld 408576698