| 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..5351fe2037f18496cf362ccb8f4f4ad16e6eb9b0 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js
|
| @@ -49,7 +49,7 @@ Components.RemoteObjectPreviewFormatter = class {
|
| * @param {!Protocol.Runtime.ObjectPreview} preview
|
| */
|
| _appendObjectPropertiesPreview(parentElement, preview) {
|
| - var properties = preview.properties.slice().stableSort(compareFunctionsLast);
|
| + var properties = preview.properties.filter(p => p.type !== 'accessor').stableSort(compareFunctionsLast);
|
|
|
| /**
|
| * @param {!Protocol.Runtime.PropertyPreview} a
|
| @@ -167,6 +167,12 @@ Components.RemoteObjectPreviewFormatter = class {
|
| var span = createElementWithClass('span', 'object-value-' + (subtype || type));
|
| description = description || '';
|
|
|
| + if (type === 'accessor') {
|
| + span.textContent = '(...)';
|
| + span.title = Common.UIString('The property is computed with a getter');
|
| + return span;
|
| + }
|
| +
|
| if (type === 'function') {
|
| span.textContent = 'function';
|
| return span;
|
|
|