On 10/10/13 1:06 PM, Matthew Gertner wrote:
Yes. Not sure if it's relevant but the remote script (and some of the local scripts) 
are loaded using RequireJS, which means that the <script> tag is added 
dynamically to the document after if has finished loading.

Shouldn't matter.

So you're saying that all of these scripts should have the same principal (and 
thus no limitations of cross-origin calls)?

Yes, unless XBL is somehow involved.

If all the scripts can touch the same document object, then they're all same origin...

Note that if I give my channel the system principal then no error occurs. Is it possible 
that something else (other than the same-origin policy) could be causing "permission 
denied" errors when using a normal URI principal but not the system principal for 
the document?

Seems unlikely.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to