| OLD | NEW |
| (Empty) |
| 1 Tests that watchPosition correctly reports position updates and errors from the
Geolocation service. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS position.coords.latitude is mockLatitude | |
| 7 PASS position.coords.longitude is mockLongitude | |
| 8 PASS position.coords.accuracy is mockAccuracy | |
| 9 | |
| 10 PASS position.coords.latitude is mockLatitude | |
| 11 PASS position.coords.longitude is mockLongitude | |
| 12 PASS position.coords.accuracy is mockAccuracy | |
| 13 | |
| 14 PASS error.code is error.POSITION_UNAVAILABLE | |
| 15 PASS error.message is mockMessage | |
| 16 | |
| 17 PASS position.coords.latitude is mockLatitude | |
| 18 PASS position.coords.longitude is mockLongitude | |
| 19 PASS position.coords.accuracy is mockAccuracy | |
| 20 | |
| 21 PASS successfullyParsed is true | |
| 22 | |
| 23 TEST COMPLETE | |
| 24 | |
| OLD | NEW |