On Monday, February 25, 2013 9:45:35 AM UTC+1, mat...@salsitasoft.com wrote: > Changing back to chrome:// URLs solves all of this (including eliminating the > need to muck with the XHR implementation in the background page) except the > original problem of accessing them via XHR in the sandbox. But using the > system principal in the sandbox appears to fix this (thanks Brian!).
BTW: Using the system principal for my sandbox lets me use the privileged XHR implementation in FF19+. However, this seems to break the code in FF<=18 (where I used a chrome window as the principal for the sandbox). I'd like to preserve backwards compatibility at least for a version or two. For now I'll use nsIXULAppInfo to check the version, but if there's a way to check the capability directly I'd prefer that. Can anyone point me to the bug where this behavior was changed? _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform