This adds interface for Sandbox. Which is then implemented in node.
All core uses PureJSSandbox (which isn't sandbox), to evaluate comlink script.
What I am missing is testing Sandboxes that they interpret scripts in the same way, so we can really keep using PureJSSandbox in core.
Motivation and Context
This will allows us to use different ways for sandboxing and in corner cases disable it entirely.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] I have updated the documentation accordingly. If you are changing code related to user secrets you need to really make sure that security documentation is correct.
Description
This adds interface for Sandbox. Which is then implemented in node.
All core uses
PureJSSandbox
(which isn't sandbox), to evaluate comlink script.What I am missing is testing Sandboxes that they interpret scripts in the same way, so we can really keep using PureJSSandbox in core.
Motivation and Context
This will allows us to use different ways for sandboxing and in corner cases disable it entirely.
Types of changes
Checklist: