nboyd%atg.com 7d39becfa9 Patch from Raphael Speyer (see https://bugzilla.mozilla.org/show_bug.cgi?id=489329#c60):
make Object.freeze work with functions, arrays, regexp

setInstanceIdValue, called by defineOwnProperty, called by freeze, was not
handing all id-identifiable properties, and so when freeze tried to freeze them
all, setInstanceIdValue was deferring onto
IdScriptableObject.setInstanceIdValue, which just throws an
IllegalStateException.

I made setInstanceIdValue always handle all the ids that getInstanceIdValue
does.


git-svn-id: svn://10.0.0.236/trunk@259287 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 13:03:57 +00:00
..