зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset b20e5de65e51 (bug 1239420
) for m(bc) failures in browser_usercontext.js
--HG-- extra : commitid : HbBPWGSMxWu
This commit is contained in:
Родитель
ca7a00aeb6
Коммит
6d1e417938
|
@ -3999,7 +3999,6 @@ nsDocShell::AddChild(nsIDocShellTreeItem* aChild)
|
|||
}
|
||||
}
|
||||
childDocShell->SetChildOffset(dynamic ? -1 : mChildList.Length() - 1);
|
||||
childDocShell->SetUserContextId(mUserContextId);
|
||||
|
||||
/* Set the child's global history if the parent has one */
|
||||
if (mUseGlobalHistory) {
|
||||
|
@ -13858,16 +13857,6 @@ NS_IMETHODIMP
|
|||
nsDocShell::SetUserContextId(uint32_t aUserContextId)
|
||||
{
|
||||
mUserContextId = aUserContextId;
|
||||
|
||||
nsTObserverArray<nsDocLoader*>::ForwardIterator iter(mChildList);
|
||||
while (iter.HasMore()) {
|
||||
nsCOMPtr<nsIDocShell> docshell = do_QueryObject(iter.GetNext());
|
||||
if (!docshell) {
|
||||
continue;
|
||||
}
|
||||
docshell->SetUserContextId(aUserContextId);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче