Hi Nikhil,
> I need to understand while parsing the script how does the JSContext
> is created. How do we get it from the JSDOMWindow ? Any document to
> understand the JSDOM model?
Ask your question on one of WebKit's mailing list
http://webkit.org/contact.html
JSCocoa only uses JavascriptCore's public API, not internal stuff like JSDOMWindow.
-Patrick