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

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: Extracted eventListenersTreeOutline.css Created 5 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: 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 9af7bec9251191de9e7216f44e42c914b5e7ce4c..a8ad9773854d00408bec10aed35a8ef8673ceec9 100644
--- a/LayoutTests/inspector/elements/event-listener-sidebar.html
+++ b/LayoutTests/inspector/elements/event-listener-sidebar.html
@@ -30,6 +30,8 @@ function setupEventListeners()
EventListenerImpl.prototype.toString = function() { return "EventListenerImpl"; }
EventListenerImpl.prototype.handleEvent = function() { console.log("click - document - handleEvent"); }
new EventListenerImpl();
+
+ window.addEventListener("scroll", function(event) { console.log("scroll - window"); }, false);
}
function test()
@@ -71,7 +73,6 @@ function onloadHandler()
}
</script>
</head>
-
<body onload="onloadHandler()">
<p>
Tests event listeners output in the Elements sidebar panel.
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/event-listener-sidebar-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698