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

Unified Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 1144953005: [DevTools] Extracted EventListenersTreeOutline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/event-listener-sidebar-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/elements-test.js
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js
index 261e96e38111093f69530c401a04b723147bcea2..194cb8beb2d781c03b85bbba7101a625497ea720 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -413,14 +413,14 @@ InspectorTest.toggleMatchedStyleProperty = function(propertyName, checked)
InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback)
{
- InspectorTest.addSniffer(WebInspector.EventListenersSidebarPane.prototype, "_onEventListeners", listenersArrived);
+ InspectorTest.addSniffer(WebInspector.EventListenersSidebarPane.prototype, "_eventListenersArivedForTest", listenersArrived);
var sidebarPane = WebInspector.panels.elements.sidebarPanes.eventListeners;
sidebarPane.expand();
function listenersArrived()
{
- var listenerTypes = sidebarPane._treeOutline.rootElement().children();
+ var listenerTypes = sidebarPane._eventListenersView._treeOutline.rootElement().children();
for (var i = 0; i < listenerTypes.length; ++i) {
listenerTypes[i].expand();
var listenerItems = listenerTypes[i].children();
@@ -432,7 +432,7 @@ InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback)
function objectsExpanded()
{
- var listenerTypes = sidebarPane._treeOutline.rootElement().children();
+ var listenerTypes = sidebarPane._eventListenersView._treeOutline.rootElement().children();
for (var i = 0; i < listenerTypes.length; ++i) {
var eventType = listenerTypes[i]._title;
InspectorTest.addResult("");
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/event-listener-sidebar-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698