fix jsb debugger bug

This commit is contained in:
Jialong Zhai 2015-05-07 18:24:30 +08:00
parent 1d03579966
commit be923b5901
1 changed files with 3 additions and 3 deletions

View File

@ -2679,9 +2679,9 @@ ObjectActor.prototype = {
"type": "object",
"class": this.obj.class,
"actor": this.actorID,
"extensible": this.obj.isExtensible(),
"frozen": this.obj.isFrozen(),
"sealed": this.obj.isSealed()
"extensible": this.obj.isExtensible && typeof this.obj.isExtensible == 'function' ? this.obj.isExtensible() : true,
"frozen": this.obj.isFrozen && typeof this.obj.isFrozen == 'function' ? this.obj.isFrozen() : false,
"sealed": this.obj.isSealed && typeof this.obj.isSealed == 'function' ? this.obj.isSealed() : false
};
// Add additional properties for functions.