Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 7aad48b4daf2b78f26b8691f55061e478c925f8a..bb79a920f4ecb15c31557ce6c9196e68f19f49d3 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -7152,6 +7152,14 @@ class V8_EXPORT Context { |
| Local<Value> global_object = Local<Value>()); |
| /** |
| + * Returns an detached global that can be passed into Context::New. |
| + * |
| + * The global template needs to have access checks with handlers installed. |
| + */ |
| + static Local<Object> NewDetachedGlobal(Isolate* isolate, |
| + Local<ObjectTemplate> global_template); |
|
dcheng
2016/06/28 15:23:53
Will there be an alternate way of creating a conte
jochen (gone - plz use gerrit)
2016/06/28 15:26:02
there will be a separate api for location
|
| + |
| + /** |
| * Sets the security token for the context. To access an object in |
| * another context, the security tokens must match. |
| */ |