[Webkit-unassigned] [Bug 142933] Redefining a property should not change its insertion index (Object.keys order)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 22 00:01:58 PDT 2015


--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
Relevant parts of the spec are:

- [[DefineOwnProperty]] -> ValidateAndApplyPropertyDescriptor -> "Convert the property ... from a data property to an accessor property"

- [[OwnPropertyKeys]] -> enumerates indexes, properties "in property creation order", and Symbols in proprty creation order

Though __defineGetter__ and __defineSetter__ are not specced, this should be no different then a Object.defineProperty changing a data descriptor to an accessor (and vice versa).

Now lets see if there is a JSC internal reason for the property deletion.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150322/93c2440d/attachment-0002.html>

More information about the webkit-unassigned mailing list