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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-custom-framework.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-listener-sidebar-custom-framework.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-custom-framework.html b/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-custom-framework.html
index bc7e25401d2ccde56a51db512c1dfe803d169eb6..114aa31ed3cd95001133e8f963d91353ca52208f 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-custom-framework.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/event-listener-sidebar-custom-framework.html
@@ -36,8 +36,8 @@ function setupNormalPath()
function frameworkEventListeners(node)
{
if (node === inspectedNode) {
- return {eventListeners: [{type: "customFirst", useCapture: true, handler: customFirstEventListener},
- {type: "customSecond", useCapture: false, handler: customSecondEventListener}],
+ return {eventListeners: [{type: "customFirst", useCapture: true, passive: false, handler: customFirstEventListener},
+ {type: "customSecond", useCapture: false, passive: false, handler: customSecondEventListener}],
internalHandlers: [internalHandler]};
}
return {eventListeners: []};
@@ -141,4 +141,4 @@ Tests framework event listeners output in the Elements sidebar panel.
</p>
<button id="inspectedNode">Inspect Me</button>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698