dicksword_is_breaking_gdpr
dicksword_is_breaking_gdpr
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
Not sure if there's an actual risk though
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
I've been wondering if its possible to somehow extract it by overwriting object prototypes or something like that, which is why i copied freeze_instrinsics.js from node
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
If I delete __context it can't be recovered from outside the runtime.js file, right?
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
Yep this seems to work, thanks
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
Oh, v8::Global accepts a &mut scope
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
Both take a reference to &mut runtime
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
It needs a reference to Isolate, and converting the struct to V8 object needs the scope
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
Yes I tried to create a global
19 replies
DDeno
Created by dicksword_is_breaking_gdpr on 8/15/2023 in #help
How to have private state in embedded deno_core JsRuntime?
Can i access that through JS? I need to take a reference to __context in runtime before i delete it
19 replies