Status: Accepted
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-Medium
New issue 3752 by [email protected]: builtin js source is not fully in
strict mode yet
https://code.google.com/p/v8/issues/detail?id=3752
regexp.js, string.js and v8natives.js are not in strict mode yet.
v8natives.js cannot be put into strict mode because it contains the
implementation for eval.
regexp.js is not in strict mode because this would be observable through
type coercion in the constructor:
new RegExp({toString : function f() { print(f.caller); } })
string.js is not in strict mode for the same reason.
Maybe we should change this observable behavior, but then we would also
have to change this for the Number constructor, Function constructor, etc,
all of which are defined in v8natives.js
WDYT?
--
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.