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

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

Issue 842323005: DevTools: Clean up the Event Listeners pane data representation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove sourceName from the EventListener object Created 5 years, 11 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/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 f19de442653b6ee8e20a0d63f3815c54eea7f93f..f693ed1bfda28ba5fd609af2f657ebc59f16acba 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -353,18 +353,11 @@ InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback)
var eventBarChildren = eventListenerSections[i]._eventBars.children;
for (var j = 0; j < eventBarChildren.length; ++j) {
var objectPropertiesSection = eventBarChildren[j]._section;
- InspectorTest.dumpObjectPropertySection(objectPropertiesSection, {
- sourceName: formatSourceNameProperty
- });
+ InspectorTest.dumpObjectPropertySection(objectPropertiesSection, {});
}
}
callback();
}
-
- function formatSourceNameProperty(value)
- {
- return "[clipped-for-test]/" + value.replace(/(.*?\/)LayoutTests/, "LayoutTests");
- }
}
InspectorTest.dumpObjectPropertySection = function(section, formatters)
« 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