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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js

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/resources/compositor-touch-hit-rects.js
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js b/third_party/WebKit/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
index 998921273166675c3b9c08cdcbfe29edd8e74eec..6b827a7068715696dbe11df6c8aa029f8ae5b47d 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
@@ -28,7 +28,7 @@ function sortRects(a, b) {
var preRunHandlerForTest = {};
function testElement(element) {
- element.addEventListener('touchstart', listener, false);
+ element.addEventListener('touchstart', listener, {passive: false});
// Run any test-specific handler AFTER adding the touch event listener
// (which itself causes rects to be recomputed).

Powered by Google App Engine
This is Rietveld 408576698