Extract logic around whether a browser needs to change processes, get a new frameloader because of preloading, etc. from `_loadURI` in `browser.js` to `E10SUtils.jsm` where it can be shared with other code paths. The side effect paths (trying to handle in chrome, removing preloaded state) are left behind in `browser.js` so that the `E10SUtils` version can be a pure function. MozReview-Commit-ID: 6LYB3e3U5o8
292 KiB
292 KiB