[Webkit-unassigned] [Bug 25477] New: Sorting a non-array creates propreties (spec-violation)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 29 23:57:01 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25477
Summary: Sorting a non-array creates propreties (spec-violation)
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Minor
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lrn at chromium.org
Sorting a sparse non-array object will create properties with the value
"undefined" instead of deleting existing properties.
Example:
[].sort.call({length:5,2:42}).hasOwnProperty(2)
The resulting object has the form {length:5, 0:42, 2:undefined}. According to
the specification, the "2" property should not exist.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list