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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js

Issue 2027473002: Deprecate use of user gestures during scroll-related touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js b/third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js
index 22ae136a08e7c3c67af17928cb96726c6b53439b..94f0b88d84f12264cf3a491d115aa8acd15211ee 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-stale-node-crash.js
@@ -4,7 +4,6 @@ function touchStartHandler(e)
{
var target = e.touches[0].target;
document.body.removeChild(target);
- window.location = 'resources/send-touch-up.html';
}
description("If this test does not crash then you pass!");
@@ -16,5 +15,6 @@ if (window.eventSender) {
eventSender.clearTouchPoints();
eventSender.addTouchPoint(50, 150);
eventSender.touchStart();
+ window.location = 'resources/send-touch-up.html';
} else
debug('This test requires DRT.');

Powered by Google App Engine
This is Rietveld 408576698