In that case we would need to export the
ErrorMessageForCodeGenerationFromStrings() function as an API function.
I wonder if it would be cleaner to just add the 'eval blocking' flag and the
error message as two independent fields to the context. Then we would export
SetErrorMessageForCodeGenerationFromStrings(String) function in the API and
the
AllowCodeGenerationFromStrings(bool) would remain unchanged. This would
allow
the web inspector to toggle the flag without changing the error message.
https://chromiumcodereview.appspot.com/10837358/
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev