[Webkit-unassigned] [Bug 34639] Object.defineProperty accepts wrong descriptor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 27 00:50:42 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=34639
Xan Lopez <xan.lopez at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #65685| |review?
Flag| |
--- Comment #4 from Xan Lopez <xan.lopez at gmail.com> 2010-08-27 00:50:42 PST ---
Created an attachment (id=65685)
--> (https://bugs.webkit.org/attachment.cgi?id=65685)
objectdescriptor.diff
OK, so I think this change might make sense to be done at this level instead of hardcoding it in toPropertyDescriptor. It changes the result of two tests; one is essentially the one the reporter submitted, and the other just makes getOwnProperty descriptor be undefined if the getter is undefined. With this we match Chrome in both behaviors.
--
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