[Webkit-unassigned] [Bug 55171] Omitted value field in descriptor passed to Object.defineProperty is mishandled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 25 00:01:17 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55171
--- Comment #1 from Oliver Hunt <oliver at apple.com> 2011-02-25 00:01:18 PST ---
(In reply to comment #0)
> jsc behavior:
>
> > typeof Object.defineProperty(Object.defineProperty({}, "p", { value: 7, writable: false, configurable: false, enumerable: true }), "p", { writable: false })
> Exception: TypeError: Attempting to change value of a readonly property.
>
> Correct behavior:
>
> js> typeof Object.defineProperty(Object.defineProperty({}, "p", { value: 7, writable: false, configurable: false, enumerable: true }), "p", { writable: false })
> "object"
Erk is that ToT or shipping safari?
I have a dream that it's shipping safari, but i suspect not :-(
--
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