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="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("This tests removing the watcher from a position callback does not c
auses assertions."); | 8 description("This tests removing the watcher from a position callback does not c
auses assertions."); |
9 | 9 |
10 var mockLatitude = 51.478; | 10 var mockLatitude = 51.478; |
(...skipping 12 matching lines...) Expand all Loading... |
23 navigator.geolocation.clearWatch(watchId); | 23 navigator.geolocation.clearWatch(watchId); |
24 finishJSTest(); | 24 finishJSTest(); |
25 }, function(e) { | 25 }, function(e) { |
26 navigator.geolocation.clearWatch(watchId); | 26 navigator.geolocation.clearWatch(watchId); |
27 finishJSTest(); | 27 finishJSTest(); |
28 }); | 28 }); |
29 | 29 |
30 | 30 |
31 window.jsTestIsAsync = true; | 31 window.jsTestIsAsync = true; |
32 </script> | 32 </script> |
33 <script src="../../js/resources/js-test-post.js"></script> | |
34 </body> | 33 </body> |
35 </html> | 34 </html> |
OLD | NEW |