laverdet / isolated-vm

Secure & isolated JS environments for nodejs
ISC License
2.19k stars 154 forks source link

Web APIs not available in isolated-vm? #487

Closed arladmin closed 4 months ago

arladmin commented 4 months ago

Which Web APIs (https://developer.mozilla.org/en-US/docs/Web/API) are actually included in 'isolated-vm' ?

e.g. Seems like even the URL API (https://developer.mozilla.org/en-US/docs/Web/API/URL_API) is not included!

laverdet commented 4 months ago

None of them. Those are implemented in Chromium, for example. nodejs also has their own version of URL https://github.com/nodejs/node/blob/main/lib/url.js.