Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: LayoutTests/platform/chromium-linux/compositing/gestures/resources/target-div-run-test.js

Issue 14860019: Move Linux-specific LayoutTests to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/chromium-linux/compositing/gestures/resources/target-div-run-test.js
diff --git a/LayoutTests/platform/chromium-linux/compositing/gestures/resources/target-div-run-test.js b/LayoutTests/platform/chromium-linux/compositing/gestures/resources/target-div-run-test.js
deleted file mode 100644
index 5cb2427dcf5ecb3f74e4b2788bdce91660d54348..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium-linux/compositing/gestures/resources/target-div-run-test.js
+++ /dev/null
@@ -1,16 +0,0 @@
-function runTest() {
- var clientRect = document.getElementById('targetDiv').getBoundingClientRect();
- x = (clientRect.left + clientRect.right) / 2;
- y = (clientRect.top + clientRect.bottom) / 2;
- if (window.testRunner) {
- testRunner.dumpAsText(true);
- testRunner.waitUntilDone();
- }
-
- if (window.eventSender) {
- eventSender.gestureTapDown(x, y);
- window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
- } else {
- debug("This test requires DumpRenderTree.");
- }
-}

Powered by Google App Engine
This is Rietveld 408576698