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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/touch-target-move-documents.html

Issue 2127163002: Limit PassiveDocumentEventListeners to touch and make it experimental (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
Index: third_party/WebKit/LayoutTests/fast/events/touch/touch-target-move-documents.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/touch-target-move-documents.html b/third_party/WebKit/LayoutTests/fast/events/touch/touch-target-move-documents.html
index c7eca01062d559d4718cdf8a85c2345287ac381d..eea90928996183ed6a9ef7c533388200128619ea 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/touch-target-move-documents.html
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/touch-target-move-documents.html
@@ -32,7 +32,7 @@ var targets = [target, document, dummyDoc];
var events = ['touchstart', 'touchmove', 'touchend'];
for (var i = 0; i < events.length; i++) {
for (var j = 0; j < targets.length; j++) {
- targets[j].addEventListener(events[i], logEvent);
+ targets[j].addEventListener(events[i], logEvent, {passive: false});
}
}

Powered by Google App Engine
This is Rietveld 408576698