зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1703291) for bc failures on BrowsingContext.cpp . CLOSED TREE
Backed out changeset 4d216ecbacd9 (bug 1703291) Backed out changeset 51d244d886aa (bug 1703291)
This commit is contained in:
Родитель
39ac6cccbf
Коммит
a7ec545704
|
@ -178,11 +178,7 @@ class nsSHistory : public mozilla::LinkedListElement<nsSHistory>,
|
||||||
void SetHasOngoingUpdate(bool aVal) { mHasOngoingUpdate = aVal; }
|
void SetHasOngoingUpdate(bool aVal) { mHasOngoingUpdate = aVal; }
|
||||||
|
|
||||||
void SetBrowsingContext(mozilla::dom::BrowsingContext* aRootBC) {
|
void SetBrowsingContext(mozilla::dom::BrowsingContext* aRootBC) {
|
||||||
if (mRootBC == aRootBC) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mRootBC = aRootBC;
|
mRootBC = aRootBC;
|
||||||
UpdateRootBrowsingContextState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t GetIndexForReplace() {
|
int32_t GetIndexForReplace() {
|
||||||
|
|
|
@ -41,9 +41,6 @@
|
||||||
var loadTypes = ["withouthistory", "withhistory"];
|
var loadTypes = ["withouthistory", "withhistory"];
|
||||||
|
|
||||||
async function start() {
|
async function start() {
|
||||||
// If Fission is disabled, the pref is no-op.
|
|
||||||
await SpecialPowers.pushPrefEnv({set: [["fission.bfcacheInParent", true]]});
|
|
||||||
|
|
||||||
for (let test of tests) {
|
for (let test of tests) {
|
||||||
await SpecialPowers.pushPrefEnv({ set: [["dom.allow_scripts_to_close_windows", false]]});
|
await SpecialPowers.pushPrefEnv({ set: [["dom.allow_scripts_to_close_windows", false]]});
|
||||||
if (test.type == windowopen) {
|
if (test.type == windowopen) {
|
||||||
|
@ -80,6 +77,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleTest.finish();
|
SimpleTest.finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче