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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: rebase Created 3 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: third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js b/third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js
index 34bec39aac6caedee7ce8b018f449b855b74243b..76e8ca18cf7cde9e065a726fc1f66495edec669a 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/EventListenersView.js
@@ -285,7 +285,8 @@ Components.ObjectEventListenerBar = class extends UI.TreeElement {
var subtitle = this.listItemElement.createChild('span', 'event-listener-tree-subtitle');
subtitle.appendChild(linkifier.linkifyRawLocation(this._eventListener.location(), this._eventListener.sourceURL()));
- title.appendChild(Components.ObjectPropertiesSection.createValueElement(object, false));
+ title.appendChild(
+ Components.ObjectPropertiesSection.createValueElement(object, false /* wasThrown */, false /* showPreview */));
if (this._eventListener.removeFunction()) {
var deleteButton = title.createChild('span', 'event-listener-button');

Powered by Google App Engine
This is Rietveld 408576698