corrected the descriptor properties of built-ins
See https://bugzilla.mozilla.org/show_bug.cgi?id=489329#c49 git-svn-id: svn://10.0.0.236/trunk@257813 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3eedbe340a
commit
81c1d523fc
@ -730,8 +730,8 @@ public abstract class IdScriptableObject extends ScriptableObject
|
||||
|
||||
desc.defineProperty("value", value, EMPTY);
|
||||
desc.defineProperty("enumerable", false, EMPTY);
|
||||
desc.defineProperty("writable", !isMethod, EMPTY);
|
||||
desc.defineProperty("configurable", !isMethod, EMPTY);
|
||||
desc.defineProperty("writable", isMethod, EMPTY);
|
||||
desc.defineProperty("configurable", isMethod, EMPTY);
|
||||
}
|
||||
}
|
||||
return desc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user