| 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 53c190c528b25aba3bf657a8c0c1c3d74f5da820..a94f6bf7ecccd36ba4462e5034b764deaf67723f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| @@ -411,12 +411,7 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| var titleElement = createElement("span");
|
| if (includePreview && obj.preview) {
|
| titleElement.classList.add("console-object-preview");
|
| - var lossless = this._previewFormatter.appendObjectPreview(titleElement, obj.preview);
|
| - if (lossless) {
|
| - elem.appendChild(titleElement);
|
| - titleElement.addEventListener("contextmenu", this._contextMenuEventFired.bind(this, obj), false);
|
| - return;
|
| - }
|
| + this._previewFormatter.appendObjectPreview(titleElement, obj.preview);
|
| } else {
|
| if (obj.type === "function") {
|
| WebInspector.ObjectPropertiesSection.formatObjectAsFunction(obj, titleElement, false);
|
| @@ -587,11 +582,9 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| }
|
|
|
| var dataGridContainer = element.createChild("span");
|
| - if (!preview.lossless || !flatValues.length) {
|
| - element.appendChild(this._formatParameter(table, true, false));
|
| - if (!flatValues.length)
|
| - return element;
|
| - }
|
| + element.appendChild(this._formatParameter(table, true, false));
|
| + if (!flatValues.length)
|
| + return element;
|
|
|
| columnNames.unshift(WebInspector.UIString("(index)"));
|
| var dataGrid = WebInspector.SortableDataGrid.create(columnNames, flatValues);
|
|
|