| Index: src/d8.h
|
| diff --git a/src/d8.h b/src/d8.h
|
| index c4e33fc6455ac0ae68c946cdcfb9072d1abceaee..21e4c4f0833c9f26da1b49813c1606d3d06351b5 100644
|
| --- a/src/d8.h
|
| +++ b/src/d8.h
|
| @@ -377,6 +377,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);
|
| @@ -475,7 +476,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);
|
| };
|
|
|