| Index: third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| index f3ffecd8973d23b97a3dceefec10586579183be5..cf61a22a5ff961686b608965075aaaeccb77c5c6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
|
| @@ -393,8 +393,9 @@ WebInspector.RemoteObjectImpl = function(target, objectId, type, subtype, value,
|
| this._hasChildren = (type !== "symbol");
|
| this._preview = preview;
|
| } else {
|
| - // Primitive or null object.
|
| - this._description = description || (value + "");
|
| + this._description = description;
|
| + if (!this._description && (typeof value !== "object" || value === null))
|
| + this._description = value + "";
|
| this._hasChildren = false;
|
| if (typeof unserializableValue !== "undefined") {
|
| this._unserializableValue = unserializableValue;
|
|
|