On Tue, Jan 20, 2009 at 4:40 AM, Maciej Stachowiak <[email protected]> wrote:

>
>
> > Or perhaps you mean that it loads on behalf of a script execution
context, but is that more the case for this loader than for any other kind?
Yes.  None of the other loaders works for a ScriptExecutionContext.  Some
may be suitable if you have a Document, but none simply use a
ScriptExecutionContext to do the loading.

My intent with this class is to allow anything that wants to work
generically with a ScriptExecutionContext to be able to use this to load
whatever it wants.  Currently I'm starting with XHR and fitting its needs.
 (No need to be overly generic.)  importScripts will be able to use it as
well.

Is ScriptContextResourceLoader a suitable name?  (Resource because it loads
multiple things, ScriptContext because that's what uses it and
ScriptExecutionContext is too long..)


Thanks again,
Dave
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to