Index: Source/devtools/front_end/sdk/RemoteObject.js |
diff --git a/Source/devtools/front_end/sdk/RemoteObject.js b/Source/devtools/front_end/sdk/RemoteObject.js |
index b5b315ca0add2b50dccee60a00a30c8ae06859cc..ace5d5f43d0ab9a0d112dd101e03eacabe3f26e7 100644 |
--- a/Source/devtools/front_end/sdk/RemoteObject.js |
+++ b/Source/devtools/front_end/sdk/RemoteObject.js |
@@ -222,7 +222,7 @@ WebInspector.RemoteObjectImpl = function(target, objectId, type, subtype, value, |
// handle |
this._objectId = objectId; |
this._description = description; |
- this._hasChildren = true; |
+ this._hasChildren = this._type === "symbol" ? false : true; |
aandrey
2014/06/17 12:29:37
this._hasChildren = (type !== "symbol");
Alexandra Mikhaylova
2014/06/17 12:32:29
Done.
|
this._preview = preview; |
} else { |
// Primitive or null object. |