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

Unified Diff: LayoutTests/inspector/elements/event-listener-sidebar.html

Issue 1042853004: [DevTools] Event Listeners Sidebar shows window listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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: LayoutTests/inspector/elements/event-listener-sidebar.html
diff --git a/LayoutTests/inspector/elements/event-listener-sidebar.html b/LayoutTests/inspector/elements/event-listener-sidebar.html
index b39315ddc902d45b2788af229aadc12cc3afdcae..40c289fc8a86c39c94c63ceb7df096e39c24d6bf 100644
--- a/LayoutTests/inspector/elements/event-listener-sidebar.html
+++ b/LayoutTests/inspector/elements/event-listener-sidebar.html
@@ -30,6 +30,9 @@ function setupEventListeners()
EventListenerImpl.prototype.toString = function() { return "EventListenerImpl"; }
EventListenerImpl.prototype.handleEvent = function() { console.log("click - document - handleEvent"); }
new EventListenerImpl();
+
+ function scrollHandler(event) { console.log("scroll - window"); }
+ window.addEventListener("scroll", scrollHandler);
}
function test()
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/event-listener-sidebar-expected.txt » ('j') | Source/devtools/protocol.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698