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

Unified Diff: LayoutTests/fast/events/touch/touch-input-element-change-documents.html

Issue 11571072: Revert 138189 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 8 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-input-element-change-documents-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/touch-input-element-change-documents.html
===================================================================
--- LayoutTests/fast/events/touch/touch-input-element-change-documents.html (revision 138207)
+++ LayoutTests/fast/events/touch/touch-input-element-change-documents.html (working copy)
@@ -1,30 +0,0 @@
-<script src="../../../../../fast/js/resources/js-test-pre.js"></script>
-<div id='container'></div>
-<script>
-description("This test checks that we correctly update the touch event handler count when an Input element with default touch handlers changes documents.");
-
-
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
-
- // There are two touchable Input elements in Audio's shadow DOM when controls are enabled.
- var input = document.createElement('audio');
- input.setAttribute("controls", true);
- var container = document.getElementById('container');
-
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
-
- container.appendChild(input);
- shouldBe('window.internals.touchEventHandlerCount(document)', '2');
-
- input.ontouchend = function() { };
- shouldBe('window.internals.touchEventHandlerCount(document)', '3');
-
- input.ontouchend = null;
- shouldBe('window.internals.touchEventHandlerCount(document)', '2');
-
- document.implementation.createDocument("", "", null).adoptNode(input);
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
-
-
-</script>
-</body>
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-input-element-change-documents-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698