[Webkit-unassigned] [Bug 28811] callee and length properties of arguments object are missing the DontEnum attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 31 05:53:39 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28811





--- Comment #5 from Kent Hansen <khansen at trolltech.com>  2009-08-31 05:53:39 PDT ---
(In reply to comment #3)
> (From update of attachment 38736 [details])
> Why is this necessary? for..in does not enumerate the properties on arguments,
> getOwnPropertyDescriptor also reports it as false.

(In reply to comment #4)
> I think the problem is that propertyIsEnumerable would return true, but should
> return false.
> 
> I think the best way to fix this is to remove all use and implementation of
> getPropertyAttributes, and change propertyIsEnumerable to call
> getPropertyDescriptor instead.

Agreed.
I originally did the patch before https://bugs.webkit.org/show_bug.cgi?id=28724
was fixed, and as Oliver said, getOwnPropertyDescriptor does the right thing
already.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list