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

Unified Diff: LayoutTests/fast/dom/Geolocation/script-tests/argument-types.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/dom/Geolocation/script-tests/argument-types.js
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js b/LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js
index 6066f905b2f540665d614fe08cabdfb395869ee9..3de6a06e860badbd8d580517c200cfa70b9abf14 100644
--- a/LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js
+++ b/LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js
@@ -15,7 +15,7 @@ function test(expression, expressionShouldThrow, expectedException) {
if (expectedException)
shouldThrow(expression, '(function() { return "' + expectedException + '"; })();');
else
- shouldThrow(expression, '(function() { return "Error: TypeMismatchError: DOM Exception 17"; })();');
+ shouldThrow(expression, '(function() { return "TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object."; })();');
} else {
shouldNotThrow(expression);
}

Powered by Google App Engine
This is Rietveld 408576698