| Index: third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js b/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
|
| index 1fc9f74bbb4cc8793bd489b207c2b906132e84b8..ab921035075be6a964f385da527f261060e4d969 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
|
| @@ -15,12 +15,12 @@ Components.RemoteObjectPreviewFormatter = class {
|
| parentElement.appendChild(this.renderPropertyPreview(preview.type, preview.subtype, description));
|
| return;
|
| }
|
| - var isArray = preview.subtype === 'array' || preview.subtype === 'typedarray';
|
| - if (description && !isArray) {
|
| + if (description && preview.subtype !== 'array') {
|
| var text = preview.subtype ? description : this._abbreviateFullQualifiedClassName(description);
|
| parentElement.createTextChildren(text, ' ');
|
| }
|
|
|
| + var isArray = preview.subtype === 'array' || preview.subtype === 'typedarray';
|
| parentElement.createTextChild(isArray ? '[' : '{');
|
| if (preview.entries)
|
| this._appendEntriesPreview(parentElement, preview);
|
|
|