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 ab921035075be6a964f385da527f261060e4d969..f2722d0e821bc1e389ef2c79dd2c550b1d57424c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js |
+++ b/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js |
@@ -15,10 +15,8 @@ Components.RemoteObjectPreviewFormatter = class { |
parentElement.appendChild(this.renderPropertyPreview(preview.type, preview.subtype, description)); |
return; |
} |
- if (description && preview.subtype !== 'array') { |
- var text = preview.subtype ? description : this._abbreviateFullQualifiedClassName(description); |
- parentElement.createTextChildren(text, ' '); |
- } |
+ if (description && preview.subtype !== 'array') |
+ parentElement.createTextChildren(description, ' '); |
var isArray = preview.subtype === 'array' || preview.subtype === 'typedarray'; |
parentElement.createTextChild(isArray ? '[' : '{'); |
@@ -184,6 +182,7 @@ Components.RemoteObjectPreviewFormatter = class { |
if (type === 'object' && !subtype) { |
span.textContent = this._abbreviateFullQualifiedClassName(description); |
+ span.title = description; |
return span; |
} |