On Sep 1, 2009, at 4:13 PM, Dmitry Titov wrote:
Thanks a lot Maciej!
As a note to the API described in this thread: there was a proposal
in private thread to replace the JS constructor with 4 parameters
with a tag:
instead of
var globalScript = new webkitGlobalScript(name, url, loadHandler,
errorHandler);
to have this:
<webkit-globalscript name='...', src='url', onload=... onerror=...></
webkit-globalscript>
This actually displays one of the issues i have with global script as
a concept, you are basically just doing
<iframe src="..."></..>
And that gives you a context that achieves almost everything the
global script concept gives you.
--Oliver
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev