Summary: | Object.freeze broken on latest Nightly | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark S. Miller <erights> | ||||||
Component: | JavaScriptCore | Assignee: | Gavin Barraclough <barraclough> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Major | CC: | barraclough, erights, oliver | ||||||
Priority: | P1 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://es-lab.googlecode.com/svn/trunk/src/ses/explicit.html | ||||||||
Attachments: |
|
Description
Mark S. Miller
2012-03-07 23:51:56 PST
Ugh, will look into this. I'm guessing this is related to the fact the prototype property is added lazily, but haven't figured out exactly what went wrong here. Cheers for the bug report Mark. Created attachment 131147 [details]
Fix
On r110411 visiting http://es-lab.googlecode.com/svn/trunk/src/ses/explicit.html I'm still seeing TypeError: Attempting to change access mechanism for an unconfigurable property thrown when freezing a function. Reopening. Gah, I bet I know what this is. The problem is probably preventExtension then freeze. Created attachment 132663 [details]
More fixed!
Fixed in r111250 - last time I forgot to check http://eslab.googlecode.com/svn/trunk/src/ses/explicit.html - this time I did, & looks like all is good, so hopefully this bug is fully fixed now! Thanks for the bug report Mark, cheers, G. |