Comment #2 on issue 1955 by [email protected]: Move all V8-internal JS to strict mode
http://code.google.com/p/v8/issues/detail?id=1955

Are you sure that the spec guarantees that this works? If either is strict, the spec guarantees that foo.caller throws. But AFAICT, if neither is strict, the spec does not guarantee anything at all, because foo.caller is unspecified in that case. That is, it could as well be a throwing getter, too.

But you are right, there might be code out there, of course. So if we can special case the behaviour through the native flag, while still defining the libs in strict mode, that's preferable.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to