| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 3e1b42700bb5843804c0bcc61459efc2ac44b901..2dac29f967337caf40e5bb2d82f9333365cbc0f1 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -3728,6 +3728,13 @@ class V8EXPORT Context {
|
| bool IsCodeGenerationFromStringsAllowed();
|
|
|
| /**
|
| + * Sets the error description for the exception that is thrown when
|
| + * code generation from strings is not allowed and 'eval' or the 'Function'
|
| + * constructor are called.
|
| + */
|
| + void SetErrorMessageForCodeGenerationFromStrings(Handle<String> message);
|
| +
|
| + /**
|
| * Stack-allocated class which sets the execution context for all
|
| * operations executed within a local scope.
|
| */
|
|
|