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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html

Issue 1879293002: Modify devtools to show passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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/inspector/elements/event-listeners-about-blank.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html b/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html
index 73d6343834e500ca3f273718c9680b20935d855c..97d92128a521792b51dacaa7322802d935d516a1 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html
@@ -14,6 +14,7 @@ function setupEventListeners()
div.id = "div-in-iframe";
div.addEventListener("hover", f, true);
body.appendChild(div);
+ body.addEventListener("wheel", f, {"passive": true});
}
function test()

Powered by Google App Engine
This is Rietveld 408576698