Bug 1674519, don't use speculative loading for session history initiated page loads, r=peterv

Depends on D97225

Differential Revision: https://phabricator.services.mozilla.com/D97325
This commit is contained in:
Olli Pettay 2020-11-26 16:38:12 +00:00
parent b6fc7f2923
commit f0bb22fdeb
2 changed files with 6 additions and 1 deletions

View file

@ -1566,6 +1566,12 @@ bool CanonicalBrowsingContext::AttemptSpeculativeLoadInParent(
return false;
}
// Session-history-in-parent implementation relies currently on getting a
// round trip through a child process.
if (aLoadState->LoadIsFromSessionHistory()) {
return false;
}
// If we successfully open the DocumentChannel, then it'll register
// itself using aLoadIdentifier and be kept alive until it completes
// loading.

View file

@ -99,7 +99,6 @@ skip-if = fission # bug 1666449
[test_bug668513.html]
support-files = file_bug668513.html
[test_bug669671.html]
skip-if = fission # Bug 1674519
[test_bug675587.html]
support-files = file_bug675587.html
[test_bug680257.html]