[webkit-dev] JavaScriptCore API use

Darin Adler darin at apple.com
Tue May 26 09:58:24 PDT 2009


On May 26, 2009, at 9:09 AM, Jack Wootton wrote:

> 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?

Yes. The most common way to make a named object visible to JavaScript  
is to make it a property of the global object, and the window object  
is the global object in a web page.

     -- Darin



More information about the webkit-dev mailing list