[webkit-dev] HasStandardGetOwnPropertySlot

David Levin levin at google.com
Wed Jul 22 17:45:06 PDT 2009


On Wed, Jul 22, 2009 at 5:35 PM, Eric Seidel <eric at webkit.org> wrote:

> 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?


>From ChangeLog descriptions (https://trac.webkit.org/changeset/37799 by
Darin Adler), it sounds like it means "this class doesn't override
getPropertySlot." I would suspect that you'd get a build error if it was set
incorrectly.





>
> >
> > -eric
> >
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090722/140b905e/attachment.html>


More information about the webkit-dev mailing list