[webkit-dev] HasStandardGetOwnPropertySlot

Eric Seidel eric at webkit.org
Wed Jul 22 17:35:43 PDT 2009


Now from the right email address.

On Wed, Jul 22, 2009 at 5:34 PM, Eric Seidel<eseidel at google.com> wrote:
> http://trac.webkit.org/changeset/45938 added DOMConstructorObject, but
> did not change most constructors (the autogen'd ones).
>
>
> I'm now removing the autogen'd createStructure and making all
> constructors inherit from DOMConstructorObject.
>
> The autogen'd version:
>
> static PassRefPtr<Structure> createStructure(JSValue proto)
> {
>    return Structure::create(proto, TypeInfo(ObjectType,
> ImplementsHasInstance));
> }
>
> DOMConstructorObject's:
>
> static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
> {
>    return JSC::Structure::create(prototype,
> JSC::TypeInfo(JSC::ObjectType, JSC::HasStandardGetOwnPropertySlot |
> JSC::ImplementsHasInstance));
> }
>
> What is HasStandardGetOwnPropertySlot adding?  Is it testable?
>
> -eric
>


More information about the webkit-dev mailing list