[webkit-dev] JavaScriptCor API use

Jack Wootton jackwootton at gmail.com
Tue May 26 09:09:32 PDT 2009


OK. To confirm, I need to obtain the Window JSObjectRef since any
custom objects I wish to add are themselves attributes of the "window"
object and so must be added accordingly?



On Tue, May 26, 2009 at 5:06 PM, Darin Adler <darin at apple.com> wrote:
> On May 26, 2009, at 8:59 AM, Jack Wootton wrote:
>
>> Thank you for taking the time to respond. I am using the S60 port of
>> WebKit. So the platform is Symbian.
>
> OK. For that port I don’t know the answer. Perhaps someone familiar with
> that platform would know.
>
> Inside WebCore, to convert the JSDOMWindow* or JSObject* to a JSObjectRef
> the code would have to use the toRef function.
>
>    -- Darin
>
>



-- 
Regards
Jack


More information about the webkit-dev mailing list