Andries Hiemstra

Results 41 comments of Andries Hiemstra

most engines simply add that info to a CallFrame, if the current frame does not have the info, check the parent frame etc. this is the quickjs impl, i know...

Hmm i see your CallFrame already has a CodeBlock Option... why does ther Rc inside it need updating?

FYI, i'm working on a generic set of traits for JavaScript engines [here](https://github.com/HiRoFa/utils/tree/master/src/js_utils) I want to see if i can create an API with which you can use different JS...

Yeah this would be cool, quickjs calls these contexts

My main reason for being interested in Realms is the ability to share loaded modules between Realms The downside of doing this with spidermonkey/quickjs is that they don't realy provide...

Ok, and implementation wise, would there be a way for JsNativeFunctions to lookup the current realm? or even pass the &Realm to native unctions? E.g. i'm working on a fetch...

@kamyuentse i know "message", "stack" and "name" work but lineNumber does not seem to be present as a property of an Exception.. see https://github.com/HiRoFa/quickjs_es_runtime/blob/master/src/quickjs_utils/errors.rs#L35 As far as i can tell...

Hi This method will return or resolve to null because you don't return the result of your inner promise.. plus you don't resolve your inner promise so even if you...

Ah i see, well it's not really an issue with the bindings but with the wrapper. I tried this with my own wrapper (which uses the bindings of this repo)...

@theduke something like this? https://github.com/HiRoFa/quickjs_es_runtime/blob/master/src/quickjs_utils/properties.rs