summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/front-end/ObjectProxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/front-end/ObjectProxy.js')
-rw-r--r--WebCore/inspector/front-end/ObjectProxy.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/inspector/front-end/ObjectProxy.js b/WebCore/inspector/front-end/ObjectProxy.js
index dbb9e48..fa7816e 100644
--- a/WebCore/inspector/front-end/ObjectProxy.js
+++ b/WebCore/inspector/front-end/ObjectProxy.js
@@ -28,17 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-WebInspector.ObjectProxy = function(objectId, path, protoDepth, description, hasChildren)
+WebInspector.ObjectProxy = function(objectId, path, protoDepth)
{
this.objectId = objectId;
this.path = path || [];
this.protoDepth = protoDepth || 0;
- this.description = description;
- this.hasChildren = hasChildren;
}
WebInspector.ObjectPropertyProxy = function(name, object)
{
this.name = name;
- this.value = new WebInspector.ObjectProxy(object, [], 0, Object.describe(object, true), true);
+ this.type = "object";
+ this.hasChildren = true;
+ this.textContent = Object.describe(object, true);
+ this.childObjectProxy = new WebInspector.ObjectProxy(object);
}