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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: ac2 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/console/ConsoleViewMessage.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
index 44007078fd193f6dbd8affa017cc711c314fba13..96db7f9436b92f8156f1c49a0155f89948b2068c 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -525,7 +525,7 @@ Console.ConsoleViewMessage = class {
var titleElement = createElement('span');
if (includePreview && obj.preview) {
titleElement.classList.add('console-object-preview');
- this._previewFormatter.appendObjectPreview(titleElement, obj.preview);
+ this._previewFormatter.appendObjectPreview(titleElement, obj.preview, false /* isEntry */);
} else if (obj.type === 'function') {
Components.ObjectPropertiesSection.formatObjectAsFunction(obj, titleElement, false);
titleElement.classList.add('object-value-function');

Powered by Google App Engine
This is Rietveld 408576698