<br><br><div class="gmail_quote">On Tue, Jan 20, 2009 at 4:40 AM, Maciej Stachowiak <span dir="ltr"><<a href="mailto:mjs@apple.com" target="_blank">mjs@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br><div><div><div><br></div></div></div></div></blockquote><div>> 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?</div>
<div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Is ScriptContextResourceLoader a suitable name? (Resource because it loads multiple things, ScriptContext because that's what uses it and ScriptExecutionContext is too long..)</div><div><br></div>
<div><br></div><div>Thanks again,</div><div>Dave</div></div>