blob: 7978e84c7e53734b5afb66ad646a6a6961499947 [file] [log] [blame]
<!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>
// This is a less strict version of synthetic-pinch-zoom-gesture-touchpad-zoom-in-slow.html
// See synthetic-pinch-zoom-gesture.js.
const MOUSE_INPUT = GestureSourceType.MOUSE_INPUT;
const t = async_test(
"This tests that gpuBenchmarking.pinchBy is relatively accurate when zooming in slowly for touchpad pinch.");
const testCases = [
{ startingScale: 1, scale: 3, speed: 100, gestureSource: MOUSE_INPUT, msg: "Zooming in slowly" },
];
addEventListener('load', () => {
runAllTestCasesDesktop(t, testCases).then(t.done.bind(t));
});
</script>
<div></div>