File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frameworks/js-bindings/bindings/script/debugger/actors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2679,9 +2679,9 @@ ObjectActor.prototype = {
2679
2679
"type" : "object" ,
2680
2680
"class" : this . obj . class ,
2681
2681
"actor" : this . actorID ,
2682
- "extensible" : this . obj . isExtensible ( ) ,
2683
- "frozen" : this . obj . isFrozen ( ) ,
2684
- "sealed" : this . obj . isSealed ( )
2682
+ "extensible" : this . obj . isExtensible && typeof this . obj . isExtensible == 'function' ? this . obj . isExtensible ( ) : true ,
2683
+ "frozen" : this . obj . isFrozen && typeof this . obj . isFrozen == 'function' ? this . obj . isFrozen ( ) : false ,
2684
+ "sealed" : this . obj . isSealed && typeof this . obj . isSealed == 'function' ? this . obj . isSealed ( ) : false
2685
2685
} ;
2686
2686
2687
2687
// Add additional properties for functions.
You can’t perform that action at this time.
0 commit comments