Updates:
        Status: Assigned
        Owner: [email protected]

Comment #4 on issue 1258 by [email protected]: V8 should expose an API to disable eval and other APIs that convert strings to code
http://code.google.com/p/v8/issues/detail?id=1258

I can take a shot at adding an API here.

One question: what is the expected behavior if someone does call eval or the function constructor and the callback tell us to block the compilation. Should we throw an exception or continue without evaluating? I'm going to go for throwing an exception (since the Function constructor cannot produce a result without compiling).

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

Reply via email to