| Index: src/d8.h
|
| diff --git a/src/d8.h b/src/d8.h
|
| index 1bb8a8965ba9a94fbfc738b8663d4eb05eaf20ff..c3729f92ba121ed4aa8d2d4d934525f366be9e8d 100644
|
| --- a/src/d8.h
|
| +++ b/src/d8.h
|
| @@ -360,6 +360,7 @@ class Shell : public i::AllStatic {
|
| static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| + static void RealmNavigate(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static void RealmCreateAllowCrossRealmAccess(
|
| const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| @@ -456,7 +457,10 @@ class Shell : public i::AllStatic {
|
| static bool SetOptions(int argc, char* argv[]);
|
| static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
|
| static MaybeLocal<Context> CreateRealm(
|
| - const v8::FunctionCallbackInfo<v8::Value>& args);
|
| + const v8::FunctionCallbackInfo<v8::Value>& args, int index,
|
| + v8::MaybeLocal<Value> global_object);
|
| + static void DisposeRealm(const v8::FunctionCallbackInfo<v8::Value>& args,
|
| + int index);
|
| static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context,
|
| const std::string& file_name);
|
| };
|
|
|