| 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 bb30b7b0b3532ca01135c91541e754975f87fd92..e1e23a3dfbf5b730f6a48af32682637914202bfe 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| @@ -478,7 +478,7 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| {
|
| var property = propertyPath.peekLast();
|
| if (property.type === "accessor")
|
| - return this._formatAsAccessorProperty(object, propertyPath.select("name"), false);
|
| + return this._formatAsAccessorProperty(object, propertyPath.map(property => property.name), false);
|
| return this._previewFormatter.renderPropertyPreview(property.type, /** @type {string} */ (property.subtype), property.value);
|
| },
|
|
|
| @@ -647,7 +647,7 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| return;
|
| }
|
|
|
| - var elements = [];
|
| + var elements = {};
|
| for (var i = 0; i < properties.length; ++i) {
|
| var property = properties[i];
|
| var name = property.name;
|
|
|