Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Switching the global context

$
0
0
Hello,

is there any way to create and manage global contexts (the global object as well as built-ins and intrinsics) with ClearScript?
We are using ClearScript to load and run extensions to our applications. What I would like to do is to isolate multiple such extensions from each other while still running on the same engine instance.
It seems to me that the V8 is capable of doing this because node.js has similar functionality (see https://nodejs.org/api/vm.html) and I frames in browsers also run in their own context.

Thanks for your help.

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images