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 TypeError: Faile
d to execute 'getCurrentPosition' on 'Geolocation': 1 argument required, but onl
y 0 present.. | 6 PASS navigator.geolocation.getCurrentPosition() threw exception TypeError: Faile
d to execute 'getCurrentPosition' on 'Geolocation': 1 argument required, but onl
y 0 present.. |
7 PASS navigator.geolocation.getCurrentPosition(undefined) threw exception TypeErr
or: Failed to execute 'getCurrentPosition' on 'Geolocation': The callback provid
ed as parameter 1 is not a function.. | 7 PASS navigator.geolocation.getCurrentPosition(undefined) threw exception TypeErr
or: Failed to execute 'getCurrentPosition' on 'Geolocation': The callback provid
ed as parameter 1 is not a function.. |
8 PASS navigator.geolocation.getCurrentPosition(null) threw exception TypeError: F
ailed to execute 'getCurrentPosition' on 'Geolocation': The callback provided as
parameter 1 is not a function.. | 8 PASS navigator.geolocation.getCurrentPosition(null) threw exception TypeError: F
ailed to execute 'getCurrentPosition' on 'Geolocation': The callback provided as
parameter 1 is not a function.. |
9 PASS navigator.geolocation.getCurrentPosition({}) threw exception TypeError: Fai
led to execute 'getCurrentPosition' on 'Geolocation': The callback provided as p
arameter 1 is not a function.. | 9 PASS navigator.geolocation.getCurrentPosition({}) threw exception TypeError: Fai
led to execute 'getCurrentPosition' on 'Geolocation': The callback provided as p
arameter 1 is not a function.. |
10 PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exc
eption TypeError: Failed to execute 'getCurrentPosition' on 'Geolocation': The c
allback provided as parameter 1 is not a function.. | 10 PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exc
eption TypeError: Failed to execute 'getCurrentPosition' on 'Geolocation': The c
allback provided as parameter 1 is not a function.. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:emptyFunction}) did not throw exception. | 73 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:emptyFunction}) did not throw exception. |
74 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:true}) did not throw exception. | 74 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:true}) did not throw exception. |
75 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:42}) did not throw exception. | 75 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:42}) did not throw exception. |
76 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:Infinity}) did not throw exception. | 76 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:Infinity}) did not throw exception. |
77 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:-Infinity}) did not throw exception. | 77 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:-Infinity}) did not throw exception. |
78 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:"string"}) did not throw exception. | 78 PASS navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {timeout
:"string"}) did not throw exception. |
79 PASS successfullyParsed is true | 79 PASS successfullyParsed is true |
80 | 80 |
81 TEST COMPLETE | 81 TEST COMPLETE |
82 | 82 |
OLD | NEW |