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

Unified Diff: LayoutTests/fast/dom/Geolocation/argument-types-expected.txt

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/argument-types-expected.txt
diff --git a/LayoutTests/fast/dom/Geolocation/argument-types-expected.txt b/LayoutTests/fast/dom/Geolocation/argument-types-expected.txt
index 818dc5627c32efbc05c846833094666582ad8d5b..6b6df29557b3bb72370412e1645ce2f014e8f93f 100644
--- a/LayoutTests/fast/dom/Geolocation/argument-types-expected.txt
+++ b/LayoutTests/fast/dom/Geolocation/argument-types-expected.txt
@@ -3,31 +3,31 @@ Tests the acceptable types for arguments to Geolocation methods.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS navigator.geolocation.getCurrentPosition() threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(undefined) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(null) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition({}) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS navigator.geolocation.getCurrentPosition() threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(undefined) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(null) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition({}) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS navigator.geolocation.getCurrentPosition(emptyFunction) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(Math.abs) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(testRunner.setGeolocationPermission) did not throw exception.
-PASS navigator.geolocation.getCurrentPosition(true) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(42) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(Infinity) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(-Infinity) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition("string") threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS navigator.geolocation.getCurrentPosition(true) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(42) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(Infinity) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(-Infinity) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition("string") threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(emptyFunction, null) did not throw exception.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, {}) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, objectThrowingException) threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, {}) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, objectThrowingException) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS navigator.geolocation.getCurrentPosition(emptyFunction, emptyFunction) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(emptyFunction, Math.abs) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(emptyFunction, testRunner.setGeolocationPermission) did not throw exception.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, true) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, 42) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, Infinity) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, -Infinity) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS navigator.geolocation.getCurrentPosition(emptyFunction, "string") threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, true) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, 42) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, Infinity) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, -Infinity) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS navigator.geolocation.getCurrentPosition(emptyFunction, "string") threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, undefined) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, null) did not throw exception.
PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {}) did not throw exception.

Powered by Google App Engine
This is Rietveld 408576698