Bug 1668577 - Make child process to send offset to parent process, not index, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92074
This commit is contained in:
@@ -3362,7 +3362,7 @@ nsDocShell::GotoIndex(int32_t aIndex) {
|
||||
NS_ENSURE_TRUE(rootSH, NS_ERROR_FAILURE);
|
||||
|
||||
ErrorResult rv;
|
||||
rootSH->GotoIndex(aIndex, rv);
|
||||
rootSH->GotoIndex(aIndex, aIndex - rootSH->Index(), rv);
|
||||
return rv.StealNSResult();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user