forked from mirrors/gecko-dev
pageInfo.js is running with SystemPrincipal, and when it tries to do media preview it will try to fetch the media with System Principal. However this request to content resouces should use the content principal instead, so we specify the principal of the content document as 'loadingprincipal' on the node, with the following patches on the dom side, so we could make this request to be isolated. |
||
|---|---|---|
| .. | ||
| feeds.js | ||
| feeds.xml | ||
| pageInfo.css | ||
| pageInfo.js | ||
| pageInfo.xml | ||
| pageInfo.xul | ||
| permissions.js | ||
| security.js | ||