| Index: LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html
|
| diff --git a/LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html b/LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html
|
| deleted file mode 100644
|
| index 4d993e465e7220fb80e83744f19e06d0e700d42e..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -
|
| -<style>
|
| - #touchElement {
|
| - width: 20px;
|
| - height: 20px;
|
| - }
|
| -</style>
|
| -
|
| -</head>
|
| -<body>
|
| -
|
| -<p id="description">
|
| -This tests checks that deferred compositing is still invoked when nothing except touch hit rects change.
|
| -The trickiness is that touch hit rects cannot be recomputed until after compositing is updated, so
|
| -there is a risk of accidentally skipping updating touch rects unless we ping the compositor correctly.
|
| -</p>
|
| -
|
| -<div id="touchElement"></div>
|
| -
|
| -<pre id="result"></pre>
|
| -
|
| -<script>
|
| -
|
| - function dummyListener() { }
|
| -
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| - if (window.internals) {
|
| - window.internals.settings.setForceCompositingMode(true);
|
| - window.internals.forceCompositingUpdate(document);
|
| - document.getElementById("touchElement").addEventListener("touchmove", dummyListener, false);
|
| - window.internals.forceCompositingUpdate(document);
|
| -
|
| - var rects = window.internals.touchEventTargetLayerRects(document);
|
| - if (rects && rects.length == 1)
|
| - document.getElementById("result").innerHTML = "PASS";
|
| - else
|
| - document.getElementById("result").innerHTML = "FAIL";
|
| -
|
| - } else {
|
| - document.getElementById("result").innerHTML = "This test can only be run as a layout test.";
|
| - }
|
| -
|
| -</script>
|
| -</body>
|
|
|