Bug 1583614: Def on frameloader rebuilding on remoteness change again. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D55858

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kris Maglione 2019-12-05 03:52:49 +00:00
parent 8b3344f4e7
commit ea63a0888d
3 changed files with 9 additions and 6 deletions

View File

@ -18,7 +18,7 @@ add_task(async function() {
BrowserTestUtils.loadURI(browser, PAGE_1);
browser.stop();
BrowserTestUtils.loadURI(browser, PAGE_2);
await BrowserTestUtils.browserLoaded(browser);
await BrowserTestUtils.browserLoaded(browser, false, PAGE_2);
ok(browser.isRemoteBrowser, "Should have switched remoteness");
await TabStateFlusher.flush(browser);

View File

@ -239,9 +239,14 @@ const tests = [
async function() {
info("Type something, click on bookmark entry.");
gURLBar.select();
let promise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser);
let url = "http://example.com/?q=%s";
let promise = BrowserTestUtils.browserLoaded(
gBrowser.selectedBrowser,
false,
url
);
await promiseAutocompleteResultPopup("exa", window, true);
while (gURLBar.untrimmedValue != "http://example.com/?q=%s") {
while (gURLBar.untrimmedValue != url) {
EventUtils.synthesizeKey("KEY_ArrowDown");
}
let element = UrlbarTestUtils.getSelectedRow(window);

View File

@ -4683,9 +4683,7 @@ pref("dom.events.testing.asyncClipboard", false);
// Disable moz* APIs in DataTransfer
pref("dom.datatransfer.mozAtAPIs", false);
// Bug 1583614: This is on by default for Fission windows, but still
// causes enough issues to prevent us from turning it on everywhere.
pref("fission.rebuild_frameloaders_on_remoteness_change", false);
pref("fission.rebuild_frameloaders_on_remoteness_change", true);
// Support for legacy customizations that rely on checking the
// user profile directory for these stylesheets: