| OLD | NEW |
| 1 CONSOLE ERROR: line 25: Uncaught Error: Exception in success callback | 1 CONSOLE ERROR: line 34: Uncaught Error: Exception in success callback |
| 2 Tests that when an exception is thrown in the success callback, the error callba
ck is not invoked. Note that this test throws an exception which is not caught. | 2 Tests that when an exception is thrown in the success callback, the error callba
ck is not invoked. Note that this test throws an exception which is not caught. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS position.coords.latitude is mockLatitude | 7 PASS position.coords.latitude is mockLatitude |
| 8 PASS position.coords.longitude is mockLongitude | 8 PASS position.coords.longitude is mockLongitude |
| 9 PASS position.coords.accuracy is mockAccuracy | 9 PASS position.coords.accuracy is mockAccuracy |
| 10 PASS Got expected error | 10 PASS Got expected error |
| 11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 12 | 12 |
| 13 TEST COMPLETE | 13 TEST COMPLETE |
| 14 | 14 |
| OLD | NEW |