Bug 1816697 - Fix chrome tests that fail if session-history-in-parent is enabled without Fission. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D169825
This commit is contained in:
Peter Van der Beken 2023-02-21 14:58:35 +00:00
parent d6fe05cdfd
commit bffd25e220
13 changed files with 15 additions and 12 deletions

View File

@ -82,5 +82,5 @@
}
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -130,6 +130,6 @@
<command id="cmd_find"
oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
</commandset>
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" remote="true" />
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" remote="true" maychangeremoteness="true" />
<findbar id="FindToolbar" browserid="content"/>
</window>

View File

@ -214,5 +214,5 @@
]]></script>
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" remote="true" />
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" remote="true" maychangeremoteness="true" />
</window>

View File

@ -79,5 +79,5 @@
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -124,5 +124,5 @@
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -123,5 +123,5 @@
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -249,5 +249,5 @@
}
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -128,5 +128,5 @@
}
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -115,5 +115,5 @@
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -18,6 +18,9 @@
b.setAttribute("width", width);
b.setAttribute("height", height);
b.setAttribute("remote", SpecialPowers.Services.appinfo.sessionHistoryInParent);
if (SpecialPowers.Services.appinfo.sessionHistoryInParent) {
b.setAttribute("maychangeremoteness", "true");
}
document.getElementById("parent").appendChild(b);
return b;
}

View File

@ -70,5 +70,5 @@
}
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -167,5 +167,5 @@
}
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>

View File

@ -85,5 +85,5 @@
}
]]></script>
<browser type="content" primary="true" flex="1" id="content" remote="true" />
<browser type="content" primary="true" flex="1" id="content" remote="true" maychangeremoteness="true" />
</window>