Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #41043
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2022-08-21 15:37 -0700 |
| References | <nfjfbn7so9tq$.10vkffqwvv24i.dlg@40tude.net> <a2038551-26fc-43e1-be58-a5a54103c040n@googlegroups.com> <1p7lh5k3cvr6p$.3m480ru7aw4d$.dlg@40tude.net> |
| Message-ID | <1b667a56-bfeb-461b-9fbd-fa4126ef6d39n@googlegroups.com> (permalink) |
| Subject | Re: [Proxy] No way to hook property creation? |
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
On Sunday, August 21, 2022 at 2:30:18 AM UTC-5, JJ wrote: > On Sat, 20 Aug 2022 17:17:46 -0700 (PDT), Michael Haufe (TNO) wrote: > > > > I'm having trouble understanding your goal. Can you share more than just > > the tactics? > I'm trying to create a JS sandbox without the need of a separate browser > Window object. > > > Are you avoiding modules? > > No. The code can be anything. > > Are you trying to create your own version of the ECMAScript ShadowRealm > > proposal? > > > > <https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md> > I'm not aware of that. What I'm trying to achieve is not based on that. That > proposal does much more than what I want. The best you can do today I think practically without resorting to a ShadowRealm-like polyfill is to utilize a detached iframe. Which means you're limited to the browser for that approach. I think node has an analogous approach: <https://nodejs.org/api/vm.html>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[Proxy] No way to hook property creation? JJ <jj4public@outlook.com> - 2022-08-07 12:56 +0700
Re: [Proxy] No way to hook property creation? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-08-20 17:17 -0700
Re: [Proxy] No way to hook property creation? JJ <jj4public@outlook.com> - 2022-08-21 14:30 +0700
Re: [Proxy] No way to hook property creation? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-08-21 15:37 -0700
Re: [Proxy] No way to hook property creation? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-08-22 01:08 +0200
Re: [Proxy] No way to hook property creation? JJ <jj4public@outlook.com> - 2022-08-23 03:31 +0700
Re: [Proxy] No way to hook property creation? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-08-24 01:45 +0200
Re: [Proxy] No way to hook property creation? TheScreamingFedora <sebaslogo@gmail.com> - 2022-08-25 08:39 -0700
Re: [Proxy] No way to hook property creation? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-08-27 22:40 +0200
csiph-web