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); |
} |