[webkit-dev] anonymous functions have a read only .name property (should they?)

Geoffrey Garen ggaren at apple.com
Tue Jan 13 23:01:11 PST 2009

> Line 43 of InternalFunction.cpp would be have the ReadOnly property  
> removed.
>    putDirect(globalData->propertyNames->name, jsString(globalData,  
> name.ustring()), DontDelete | DontEnum);

Currently, InternalFunction relies on the invariant that the name  
property is a string. If you made the property writeable, you would  
need to update InternalFunction::name to account for it.


More information about the webkit-dev mailing list