| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <script> | 6 <script> |
| 7 description('Tests the cancelVibration during pattern vibration is working.'); | 7 description('Tests the cancelVibration during pattern vibration is working.'); |
| 8 | 8 |
| 9 function vibrate(pattern) { | 9 function vibrate(pattern) { |
| 10 navigator.vibrate(pattern); | 10 navigator.vibrate(pattern); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 var count = 1; | 53 var count = 1; |
| 54 if (window.testRunner) { | 54 if (window.testRunner) { |
| 55 window.jsTestIsAsync = true; | 55 window.jsTestIsAsync = true; |
| 56 shouldBeFalse('internals.isVibrating(document)'); // Before vibration test. | 56 shouldBeFalse('internals.isVibrating(document)'); // Before vibration test. |
| 57 doTest(count); | 57 doTest(count); |
| 58 } else { | 58 } else { |
| 59 debug('This test can not be run without the TestRunner'); | 59 debug('This test can not be run without the TestRunner'); |
| 60 } | 60 } |
| 61 </script> | 61 </script> |
| 62 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 63 </body> | 62 </body> |
| 64 </html> | 63 </html> |
| OLD | NEW |