Hi Ross.
While I can grab the JSGlobalContext reference from a WebView's
mainFrame,
and subsequently use the public JS APIs to extend the underlying JS
global
object, I believe that subsequent WebView allocations will cause the
underlying JSGlobalObject to be reinitialized forcing me to 're-
extend' the
object using the public APIs.
It's a page load, not a WebView allocation, that clears the data in a
JSGlobalContext.
Here is the delegate callback you need: –
webView:didClearWindowObject:forFrame:
Cheers,
Geoff
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev