Closed
Bug 730632
Opened 12 years ago
Closed 12 years ago
[[Get]]/[[Put]] for primitives should not wrap on strict accessor call
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 603201
People
(Reporter: gsnedders, Unassigned)
Details
Attachments
(1 file)
2.62 KB,
application/octet-stream
|
Details |
See attached TC. The special [[Get]]/[[Put]] defined in ES5.1 §8.7 calls accessors with the primitive value as thisArg; in the non-strict accessor case §10.4.3 calls ToObject on thisArg before entering the function code, whereas in the strict accessor case thisArg is passed through untouched (i.e., as a primitive). Currently SM, JSC (about to report there), and Carakan (CORE-44789) all always wrap, V8 never does (equally about to be reported).
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•12 years ago
|
||
That looks thoroughly like the wrong bug that you've marked this as a duplicate of.
Reporter | ||
Comment 3•12 years ago
|
||
And then I find the bug I couldn't find last night…
Comment 4•12 years ago
|
||
Hmm, yes, that was the wrong bug, wasn't it. :-)
You need to log in
before you can comment on or make changes to this bug.
Description
•