Status: New
Owner: ----
New issue 1973 by geoffers: [[Get]]/[[Put]] for primitives should wrap on
non-strict accessor call
http://code.google.com/p/v8/issues/detail?id=1973
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 (730632), JSC (79588), and Carakan (CORE-44789) all always
wrap, V8 never does.
Attachments:
foo.js 2.6 KB
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev