OLD | NEW |
1 Tests Geolocation error callback using the mock service. | 1 Tests Geolocation error callback using the mock service. |
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 error.code is error.POSITION_UNAVAILABLE | 6 PASS error.code is error.POSITION_UNAVAILABLE |
7 PASS error.message is mockMessage | 7 PASS error.message is mockMessage |
8 PASS error.UNKNOWN_ERROR is undefined | 8 PASS error.UNKNOWN_ERROR is undefined |
9 PASS error.PERMISSION_DENIED is 1 | 9 PASS error.PERMISSION_DENIED is 1 |
10 PASS error.POSITION_UNAVAILABLE is 2 | 10 PASS error.POSITION_UNAVAILABLE is 2 |
11 PASS error.TIMEOUT is 3 | 11 PASS error.TIMEOUT is 3 |
12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
13 | 13 |
14 TEST COMPLETE | 14 TEST COMPLETE |
15 | 15 |
OLD | NEW |