| <!DOCTYPE html> |
| <script src="../../../resources/testharness.js"></script> |
| <script src="../../../resources/testharnessreport.js"></script> |
| <script src="../../../resources/gesture-util.js"></script> |
| <link href="synthetic-pinch-zoom-gesture.css" rel="stylesheet"> |
| <script src="synthetic-pinch-zoom-gesture.js"></script> |
| |
| <script> |
| const MOUSE_INPUT = GestureSourceType.MOUSE_INPUT; |
| |
| const t = async_test( |
| "This tests that gpuBenchmarking.pinchBy is relatively accurate when zooming out slowly for touchpad pinch."); |
| const testCases = [ |
| { startingScale: 4, scale: 0.5, speed: 100, gestureSource: MOUSE_INPUT, msg: "Zooming out slowly" }, |
| ]; |
| addEventListener('load', () => { |
| runAllTestCases(t, testCases).then(t.done.bind(t)); |
| }); |
| </script> |
| <div></div> |