| 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> | 5 <script> |
| 6 description("Tests that a mouse wheel event will cancel an in progress fling
gesture."); | 6 description("Tests that a mouse wheel event will cancel an in progress fling
gesture."); |
| 7 | 7 |
| 8 var expectedWheelEventsOccurred = "0"; | 8 var expectedWheelEventsOccurred = "0"; |
| 9 var actualWheelEventsOccurred = 0; | 9 var actualWheelEventsOccurred = 0; |
| 10 | 10 |
| 11 function notifyWhenFlingIsOver() { | 11 function notifyWhenFlingIsOver() { |
| 12 if (!window.testRunner) | 12 if (!window.testRunner) |
| 13 return; | 13 return; |
| 14 if (eventSender.isFlinging()) { | 14 if (eventSender.isFlinging()) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 42 notifyWhenFlingIsOver(); | 42 notifyWhenFlingIsOver(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 </script> | 45 </script> |
| 46 </head> | 46 </head> |
| 47 <body> | 47 <body> |
| 48 <span id="e"></span> | 48 <span id="e"></span> |
| 49 <span id="f"></span> | 49 <span id="f"></span> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |