| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
| 5 <script src="../../../resources/mojo-helpers.js"></script> | 5 <script src="../resources/mojo-helpers.js"></script> |
| 6 <script src="resources/geolocation-mock.js"></script> | 6 <script src="resources/geolocation-mock.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <script> | 9 <script> |
| 10 description("Tests Geolocation error callback using the mock service."); | 10 description("Tests Geolocation error callback using the mock service."); |
| 11 | 11 |
| 12 var mockMessage = "debug"; | 12 var mockMessage = "debug"; |
| 13 | 13 |
| 14 var error; | 14 var error; |
| 15 | 15 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 29 shouldBe('error.POSITION_UNAVAILABLE', '2'); | 29 shouldBe('error.POSITION_UNAVAILABLE', '2'); |
| 30 shouldBe('error.TIMEOUT', '3'); | 30 shouldBe('error.TIMEOUT', '3'); |
| 31 finishJSTest(); | 31 finishJSTest(); |
| 32 }); | 32 }); |
| 33 }); | 33 }); |
| 34 | 34 |
| 35 window.jsTestIsAsync = true; | 35 window.jsTestIsAsync = true; |
| 36 </script> | 36 </script> |
| 37 </body> | 37 </body> |
| 38 </html> | 38 </html> |
| OLD | NEW |