[Webkit-unassigned] [Bug 142933] New: Redefining a property should not change its insertion index (Object.keys order)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 21 00:03:30 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=142933
Bug ID: 142933
Summary: Redefining a property should not change its insertion
index (Object.keys order)
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joepeck at webkit.org
CC: ggaren at apple.com
* SUMMARY
Redefining a property should not change its index in Object.keys.
* TEST:
var o = {};
o.x = 1;
o.y = 2;
o.__defineGetter__("x", function() {});
Object.keys(o);
* EXPECTED
["x", "y"]
* ACTUAL
["y", "x"]
* NOTES
- Firefox outputs expected
- Chrome outputs expected
--
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/20150321/ae2505fd/attachment-0002.html>
More information about the webkit-unassigned
mailing list