Re: [webkit-dev] [JavaScriptCore] When to JSValueProtect?

2013-12-08 Thread Alexei Sholik
to retain local variables. Geoff -- Best regards Alexei Sholik ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev

[webkit-dev] [JavaScriptCore] When to JSValueProtect?

2013-12-07 Thread Alexei Sholik
is missing. The way I'm linking native and JS objects is by keeping an associative array of their pointers, so that I can get back to the native object in the C++ callback called from JS. -- Best regards Alexei Sholik ___ webkit-dev mailing list webkit-dev

[webkit-dev] [JavaScriptCore] Is property attribute ReadOnly working as intended here?

2013-12-02 Thread Alexei Sholik
) or the ReadOnly attribute contaminates the object itself. Perhaps I'm misunderstanding the role of prototypes in JavaScriptCore. Could anyone help clear out the confusion for me? Thanks! -- Best regards Alexei Sholik ___ webkit-dev mailing list webkit

Re: [webkit-dev] [JavaScriptCore] Is property attribute ReadOnly working as intended here?

2013-12-02 Thread Alexei Sholik
to create a shadowing property on the object you can do so via Object.defineProperty. cheers, G. Geoff ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev -- Best regards Alexei