Closed Bug 922301 Opened 11 years ago Closed 7 years ago

Fix the semantics of SetArrayElement

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1323825

People

(Reporter: terrence, Unassigned)

Details

From https://bugzilla.mozilla.org/show_bug.cgi?id=688852#c22 > I'm not quite convinced SetArrayElement is the right thing here. Looking at > it, it's not entirely clear *what* its semantics exactly are. The slow-path > is equivalent to [[Put]]; the fast-path is equivalent to > [[DefineOwnProperty]]. And it looks like we have callers that expect each > of those different behaviors, so there's not really a fix for it. We need to visit all of the callers and ensure they are each doing the correct thing in all cases.
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.