| 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 8566edf715c762cd83b919ff072a9f109daca89f..b83f1d7bdafa605e3a2b8e5b1cc720142d84d844 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| @@ -613,12 +613,11 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!WebInspector.RemoteObject} array
|
| * @return {boolean}
|
| */
|
| - useArrayPreviewInFormatter: function(array)
|
| + _usePrintedArrayFormatter: function()
|
| {
|
| - return this._message.type !== WebInspector.ConsoleMessage.MessageType.DirXML;
|
| + return this._message.type !== WebInspector.ConsoleMessage.MessageType.DirXML && this._message.type !== WebInspector.ConsoleMessage.MessageType.Result;
|
| },
|
|
|
| /**
|
| @@ -628,8 +627,8 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| _formatParameterAsArray: function(array, elem)
|
| {
|
| var maxFlatArrayLength = 100;
|
| - if (this.useArrayPreviewInFormatter(array) || array.arrayLength() > maxFlatArrayLength)
|
| - this._formatParameterAsArrayOrObject(array, elem, this.useArrayPreviewInFormatter(array) || array.arrayLength() <= maxFlatArrayLength);
|
| + if (this._usePrintedArrayFormatter() || array.arrayLength() > maxFlatArrayLength)
|
| + this._formatParameterAsArrayOrObject(array, elem, this._usePrintedArrayFormatter() || array.arrayLength() <= maxFlatArrayLength);
|
| else
|
| array.getAllProperties(false, this._printArrayResult.bind(this, array, elem));
|
| },
|
|
|