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:
nboyd%atg.com 2009-07-28 01:59:41 +00:00
parent 3eedbe340a
commit 81c1d523fc

View File

@ -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;