On Thursday, October 10, 2013 6:58:24 PM UTC+2, Boris Zbarsky wrote:
> That's ... quite odd.  Scripts loaded via a <script> tag get the 
> principal of the page that loaded them.  Is this how you're loading your 
> scripts?

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. So you're saying 
that all of these scripts should have the same principal (and thus no 
limitations of cross-origin calls)?

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?
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to