Comment #3 on issue 4013 by [email protected]: Should functions defined in v8natives.js be strict code?
https://code.google.com/p/v8/issues/detail?id=4013

Is this because some functions have to behave like sloppy when it comes to `this`? If so that needs to be part of the spec and I have yet to find anything like this in the spec.

I don't remember the exact reasons, but some of the functions in there need to behave like sloppy ones to match the spec (you'll probably find out quickly by the test failures you get when you try)

I doubt that. For example a lot of tests just tests the presence of all the properties without any kind of motivation:

https://codereview.chromium.org/1027283004/diff/550001/test/webkit/fast/js/Object-getOwnPropertyNames.js

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to