[Webkit-unassigned] [Bug 80217] New: Split JSArray's [[Put]] & [[DefineOwnProperty]] traps.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 3 17:39:53 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80217
Summary: Split JSArray's [[Put]] & [[DefineOwnProperty]] traps.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: barraclough at apple.com
putByIndex() provides similar behavior to put(), but for indexed property names. Many places in ArrayPrototype call putByIndex() where they really mean to call [[DefineOwnProperty]]. This is only okay due to a bug – putByIndex should be calling numeric accessors (& respecting numeric read only properties) on the prototype chain, but isn't. Add a new putDirectIndex (matching JSObject's putDirect* methods), to correctly provide a fast [[DefineOwnProperty]] interface.
--
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