Backed out changeset a399e91dd5c2 (bug 1729662) for causing wpt failures on cross-document-traversal-cross-document-traversal.html.
This commit is contained in:
@@ -1093,7 +1093,7 @@ void CanonicalBrowsingContext::HistoryGo(
|
||||
// GoToIndex checks that index is >= 0 and < length.
|
||||
nsTArray<nsSHistory::LoadEntryResult> loadResults;
|
||||
nsresult rv = shistory->GotoIndex(index.value(), loadResults, sameEpoch,
|
||||
aOffset == 0, aUserActivation);
|
||||
aUserActivation);
|
||||
if (NS_FAILED(rv)) {
|
||||
MOZ_LOG(gSHLog, LogLevel::Debug,
|
||||
("Dropping HistoryGo - bad index or same epoch (not in same doc)"));
|
||||
|
||||
Reference in New Issue
Block a user