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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.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/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 8c62058d640b367a3f0953535898d39f52fb1c71..edc25c3c497671ecf747d80de5d443f67a1a09a7 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -526,7 +526,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