Closed
Bug 577572
Opened 14 years ago
Closed 14 years ago
arguments and call object not kept coherent after putActivationObjects
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 478174
People
(Reporter: luke, Unassigned)
Details
When we do putActivationObjects and there is both a call and args object, the arguments get copied to two places. This means that updates to one are not reflected in the other: function f(x) { return { args: arguments, call: function() { return x } }; } r = f(3); r.args[0] = 9; assertEq(r.call(), 9); // Assertion failed: got 3 expected 9
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Reporter | ||
Comment 3•14 years ago
|
||
Super dup!
You need to log in
before you can comment on or make changes to this bug.
Description
•