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

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

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 4 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/http/tests/inspector/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index edde1249c634616a4e5f5f1f1026bd289cc55bfe..c734b2d358a4d0da450010fa2feef3b7083a581c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -369,13 +369,10 @@ InspectorTest.dumpObjectPropertyTreeElement = function(treeElement)
}
}
-InspectorTest.expandAndDumpEventListeners = function(eventListenersView, updateCallback, callback)
+InspectorTest.expandAndDumpEventListeners = function(eventListenersView, callback)
{
InspectorTest.addSniffer(WebInspector.EventListenersView.prototype, "_eventListenersArrivedForTest", listenersArrived);
- if (updateCallback)
- updateCallback();
-
function listenersArrived()
{
var listenerTypes = eventListenersView._treeOutline.rootElement().children();

Powered by Google App Engine
This is Rietveld 408576698