share sessionstate and underlying DOM global with the isolated

This commit is contained in:
sjorsdonkers
2025-04-29 23:17:39 +02:00
parent 2910f4f527
commit 7dde0be043
6 changed files with 81 additions and 67 deletions

View File

@@ -437,7 +437,7 @@ pub const JsRunner = struct {
self.executor = try self.env.newExecutor();
errdefer self.executor.deinit();
self.scope = try self.executor.startScope(&self.window, &self.state, {});
self.scope = try self.executor.startScope(&self.window, &self.state, {}, true);
return self;
}