| OLD | NEW |
| 1 Tests the acceptable types for arguments to Geolocation methods. | 1 Tests the acceptable types for arguments to Geolocation methods. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS navigator.geolocation.getCurrentPosition() threw exception Error: TypeMisma
tchError: DOM Exception 17. | 6 PASS navigator.geolocation.getCurrentPosition() threw exception TypeMismatchErro
r: The type of an object was incompatible with the expected type of the paramete
r associated to the object.. |
| 7 PASS navigator.geolocation.getCurrentPosition(undefined) threw exception Error:
TypeMismatchError: DOM Exception 17. | 7 PASS navigator.geolocation.getCurrentPosition(undefined) threw exception TypeMis
matchError: The type of an object was incompatible with the expected type of the
parameter associated to the object.. |
| 8 PASS navigator.geolocation.getCurrentPosition(null) threw exception Error: TypeM
ismatchError: DOM Exception 17. | 8 PASS navigator.geolocation.getCurrentPosition(null) threw exception TypeMismatch
Error: The type of an object was incompatible with the expected type of the para
meter associated to the object.. |
| 9 PASS navigator.geolocation.getCurrentPosition({}) threw exception Error: TypeMis
matchError: DOM Exception 17. | 9 PASS navigator.geolocation.getCurrentPosition({}) threw exception TypeMismatchEr
ror: The type of an object was incompatible with the expected type of the parame
ter associated to the object.. |
| 10 PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exc
eption Error: TypeMismatchError: DOM Exception 17. | 10 PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exc
eption TypeMismatchError: The type of an object was incompatible with the expect
ed type of the parameter associated to the object.. |
| 11 PASS navigator.geolocation.getCurrentPosition(emptyFunction) did not throw excep
tion. | 11 PASS navigator.geolocation.getCurrentPosition(emptyFunction) did not throw excep
tion. |
| 12 PASS navigator.geolocation.getCurrentPosition(Math.abs) did not throw exception. | 12 PASS navigator.geolocation.getCurrentPosition(Math.abs) did not throw exception. |
| 13 PASS navigator.geolocation.getCurrentPosition(testRunner.setGeolocationPermissio
n) did not throw exception. | 13 PASS navigator.geolocation.getCurrentPosition(testRunner.setGeolocationPermissio
n) did not throw exception. |
| 14 PASS navigator.geolocation.getCurrentPosition(true) threw exception Error: TypeM
ismatchError: DOM Exception 17. | 14 PASS navigator.geolocation.getCurrentPosition(true) threw exception TypeMismatch
Error: The type of an object was incompatible with the expected type of the para
meter associated to the object.. |
| 15 PASS navigator.geolocation.getCurrentPosition(42) threw exception Error: TypeMis
matchError: DOM Exception 17. | 15 PASS navigator.geolocation.getCurrentPosition(42) threw exception TypeMismatchEr
ror: The type of an object was incompatible with the expected type of the parame
ter associated to the object.. |
| 16 PASS navigator.geolocation.getCurrentPosition(Infinity) threw exception Error: T
ypeMismatchError: DOM Exception 17. | 16 PASS navigator.geolocation.getCurrentPosition(Infinity) threw exception TypeMism
atchError: The type of an object was incompatible with the expected type of the
parameter associated to the object.. |
| 17 PASS navigator.geolocation.getCurrentPosition(-Infinity) threw exception Error:
TypeMismatchError: DOM Exception 17. | 17 PASS navigator.geolocation.getCurrentPosition(-Infinity) threw exception TypeMis
matchError: The type of an object was incompatible with the expected type of the
parameter associated to the object.. |
| 18 PASS navigator.geolocation.getCurrentPosition("string") threw exception Error: T
ypeMismatchError: DOM Exception 17. | 18 PASS navigator.geolocation.getCurrentPosition("string") threw exception TypeMism
atchError: The type of an object was incompatible with the expected type of the
parameter associated to the object.. |
| 19 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined) did not
throw exception. | 19 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined) did not
throw exception. |
| 20 PASS navigator.geolocation.getCurrentPosition(emptyFunction, null) did not throw
exception. | 20 PASS navigator.geolocation.getCurrentPosition(emptyFunction, null) did not throw
exception. |
| 21 PASS navigator.geolocation.getCurrentPosition(emptyFunction, {}) threw exception
Error: TypeMismatchError: DOM Exception 17. | 21 PASS navigator.geolocation.getCurrentPosition(emptyFunction, {}) threw exception
TypeMismatchError: The type of an object was incompatible with the expected typ
e of the parameter associated to the object.. |
| 22 PASS navigator.geolocation.getCurrentPosition(emptyFunction, objectThrowingExcep
tion) threw exception Error: TypeMismatchError: DOM Exception 17. | 22 PASS navigator.geolocation.getCurrentPosition(emptyFunction, objectThrowingExcep
tion) threw exception TypeMismatchError: The type of an object was incompatible
with the expected type of the parameter associated to the object.. |
| 23 PASS navigator.geolocation.getCurrentPosition(emptyFunction, emptyFunction) did
not throw exception. | 23 PASS navigator.geolocation.getCurrentPosition(emptyFunction, emptyFunction) did
not throw exception. |
| 24 PASS navigator.geolocation.getCurrentPosition(emptyFunction, Math.abs) did not t
hrow exception. | 24 PASS navigator.geolocation.getCurrentPosition(emptyFunction, Math.abs) did not t
hrow exception. |
| 25 PASS navigator.geolocation.getCurrentPosition(emptyFunction, testRunner.setGeolo
cationPermission) did not throw exception. | 25 PASS navigator.geolocation.getCurrentPosition(emptyFunction, testRunner.setGeolo
cationPermission) did not throw exception. |
| 26 PASS navigator.geolocation.getCurrentPosition(emptyFunction, true) threw excepti
on Error: TypeMismatchError: DOM Exception 17. | 26 PASS navigator.geolocation.getCurrentPosition(emptyFunction, true) threw excepti
on TypeMismatchError: The type of an object was incompatible with the expected t
ype of the parameter associated to the object.. |
| 27 PASS navigator.geolocation.getCurrentPosition(emptyFunction, 42) threw exception
Error: TypeMismatchError: DOM Exception 17. | 27 PASS navigator.geolocation.getCurrentPosition(emptyFunction, 42) threw exception
TypeMismatchError: The type of an object was incompatible with the expected typ
e of the parameter associated to the object.. |
| 28 PASS navigator.geolocation.getCurrentPosition(emptyFunction, Infinity) threw exc
eption Error: TypeMismatchError: DOM Exception 17. | 28 PASS navigator.geolocation.getCurrentPosition(emptyFunction, Infinity) threw exc
eption TypeMismatchError: The type of an object was incompatible with the expect
ed type of the parameter associated to the object.. |
| 29 PASS navigator.geolocation.getCurrentPosition(emptyFunction, -Infinity) threw ex
ception Error: TypeMismatchError: DOM Exception 17. | 29 PASS navigator.geolocation.getCurrentPosition(emptyFunction, -Infinity) threw ex
ception TypeMismatchError: The type of an object was incompatible with the expec
ted type of the parameter associated to the object.. |
| 30 PASS navigator.geolocation.getCurrentPosition(emptyFunction, "string") threw exc
eption Error: TypeMismatchError: DOM Exception 17. | 30 PASS navigator.geolocation.getCurrentPosition(emptyFunction, "string") threw exc
eption TypeMismatchError: The type of an object was incompatible with the expect
ed type of the parameter associated to the object.. |
| 31 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, undefine
d) did not throw exception. | 31 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, undefine
d) did not throw exception. |
| 32 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, null) di
d not throw exception. | 32 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, null) di
d not throw exception. |
| 33 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {}) did
not throw exception. | 33 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {}) did
not throw exception. |
| 34 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, objectTh
rowingException) threw exception Error: enableHighAccuracy getter exception. | 34 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, objectTh
rowingException) threw exception Error: enableHighAccuracy getter exception. |
| 35 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, emptyFun
ction) did not throw exception. | 35 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, emptyFun
ction) did not throw exception. |
| 36 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, true) di
d not throw exception. | 36 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, true) di
d not throw exception. |
| 37 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, 42) did
not throw exception. | 37 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, 42) did
not throw exception. |
| 38 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, Infinity
) did not throw exception. | 38 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, Infinity
) did not throw exception. |
| 39 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, -Infinit
y) did not throw exception. | 39 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, -Infinit
y) did not throw exception. |
| 40 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, "string"
) did not throw exception. | 40 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, "string"
) did not throw exception. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:emptyFunction}) did not throw exception. | 75 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:emptyFunction}) did not throw exception. |
| 76 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:true}) did not throw exception. | 76 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:true}) did not throw exception. |
| 77 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:42}) did not throw exception. | 77 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:42}) did not throw exception. |
| 78 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:Infinity}) did not throw exception. | 78 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:Infinity}) did not throw exception. |
| 79 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:-Infinity}) did not throw exception. | 79 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:-Infinity}) did not throw exception. |
| 80 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:"string"}) did not throw exception. | 80 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:"string"}) did not throw exception. |
| 81 PASS successfullyParsed is true | 81 PASS successfullyParsed is true |
| 82 | 82 |
| 83 TEST COMPLETE | 83 TEST COMPLETE |
| 84 | 84 |
| OLD | NEW |