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

Unified Diff: trunk/LayoutTests/fast/events/move-event-handler-between-framehosts.html

Issue 391483002: Revert 177812 "Migrate touch events to EventHandlerRegistry" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | trunk/LayoutTests/fast/events/move-event-handler-between-framehosts-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/LayoutTests/fast/events/move-event-handler-between-framehosts.html
===================================================================
--- trunk/LayoutTests/fast/events/move-event-handler-between-framehosts.html (revision 177995)
+++ trunk/LayoutTests/fast/events/move-event-handler-between-framehosts.html (working copy)
@@ -1,35 +0,0 @@
-<html>
-<body onload="startTest()">
-
-<script src="../../resources/js-test.js"></script>
-<script>
-
-description("This test checks that moving an element with an event handler from one window (FrameHost) to another properly migrates the handler too.");
-
-var jsTestIsAsync = true;
-var window2;
-
-function window2Loaded() {
- shouldBe('window.internals.scrollEventHandlerCount(document)', '0');
- var div = window2.document.getElementById("div");
- window.document.adoptNode(div);
- window.document.body.appendChild(div);
- shouldBe('window.internals.scrollEventHandlerCount(document)', '1');
-
- window2.close();
- finishJSTest();
-}
-
-function startTest() {
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
- }
- window2 = window.open('data:text/html,<div id="div" onscroll="function() {}"></div>');
- window2.addEventListener("load", window2Loaded, false);
-}
-
-</script>
-
-</body>
-</html>
« no previous file with comments | « no previous file | trunk/LayoutTests/fast/events/move-event-handler-between-framehosts-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698