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

Unified Diff: LayoutTests/platform/chromium/plugins/re-request-touch-events-crash.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/plugins/re-request-touch-events-crash.html
diff --git a/LayoutTests/platform/chromium/plugins/re-request-touch-events-crash.html b/LayoutTests/platform/chromium/plugins/re-request-touch-events-crash.html
deleted file mode 100644
index d3e6a56686682bcb13644571a4b65a7f79787001..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/plugins/re-request-touch-events-crash.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html>
-<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-
-<body>
-<embed id="touch_plugin" type="application/x-webkit-test-webplugin" accepts-touch="raw" re-request-touch="true"></embed>
-<p id="description"></p>
-<script>
-description("This test ensures that we don't imbalance the touch event handler count if a plugin requests touch events more than once. The test passes if there are no touch event listeners after the plugin is removed, and there is no crash. Must be run in DRT.");
-
-if (window.testRunner) {
- testRunner.dumpAsText();
-
- // Force the plugin to initialize
- touch_plugin.offsetTop;
-
- shouldBe("window.internals.touchEventHandlerCount(document)", "1")
- touch_plugin.parentNode.removeChild(touch_plugin);
- shouldBe("window.internals.touchEventHandlerCount(document)", "0")
-}
-
-</script>
-</body>
-<script src="../../../fast/js/resources/js-test-post.js"></script>

Powered by Google App Engine
This is Rietveld 408576698