Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 41240bd837ecd2cedbb14229846ed917fa543694..eff88450f6fac9c9e07944e8a45060c1fb5dc57b 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4183,6 +4183,13 @@ class V8_EXPORT FunctionTemplate : public Template { |
*/ |
void SetClassName(Handle<String> name); |
+ |
+ /** |
+ * When set to true, no access check will be performed on the receiver of a |
+ * function call. Currently defaults to true, but this is subject to change. |
+ */ |
+ void SetAcceptAnyReceiver(bool value); |
+ |
/** |
* Determines whether the __proto__ accessor ignores instances of |
* the function template. If instances of the function template are |