OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
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 that watchPosition does not report position changes when the
page is not visible."); | 10 description("Tests that watchPosition does not report position changes when the
page is not visible."); |
11 window.jsTestIsAsync = true; | 11 window.jsTestIsAsync = true; |
12 | 12 |
13 if (!window.testRunner) | 13 if (!window.testRunner) |
14 debug('This test can not run without testRunner'); | 14 debug('This test can not run without testRunner'); |
15 | 15 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 updatePosition(); | 80 updatePosition(); |
81 }, function(e) { | 81 }, function(e) { |
82 testFailed('Error callback invoked unexpectedly'); | 82 testFailed('Error callback invoked unexpectedly'); |
83 finishJSTest(); | 83 finishJSTest(); |
84 }); | 84 }); |
85 }); | 85 }); |
86 | 86 |
87 </script> | 87 </script> |
88 </body> | 88 </body> |
89 </html> | 89 </html> |
OLD | NEW |