<br><br><div class="gmail_quote">On Tue, Jan 20, 2009 at 4:40 AM, Maciej Stachowiak <span dir="ltr">&lt;<a href="mailto:mjs@apple.com" target="_blank">mjs@apple.com</a>&gt;</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>&gt;&nbsp;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. &nbsp;None of the other loaders works for a ScriptExecutionContext. &nbsp;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. &nbsp;Currently I&#39;m starting with XHR and fitting its needs. &nbsp;(No need to be overly generic.) &nbsp;importScripts will be able to use it as well.</div>


<div><br></div><div>Is ScriptContextResourceLoader a suitable name? &nbsp;(Resource because it loads multiple things, ScriptContext because that&#39;s what uses it and ScriptExecutionContext is too long..)</div><div><br></div>

<div><br></div><div>Thanks again,</div><div>Dave</div></div>