зеркало из https://github.com/mozilla/gecko-dev.git
Bug 359210 Firefox hangs when loading the attached page
temporary fix by aaronleventhal r=ginn.chen
This commit is contained in:
Родитель
ec8d1d8cb7
Коммит
f9e1037f37
|
@ -277,6 +277,9 @@ void nsAccessibleTreeWalker::UpdateFrame(PRBool aTryFirstChild)
|
|||
}
|
||||
if (aTryFirstChild) {
|
||||
mState.frame = mState.frame->GetFirstChild(nsnull);
|
||||
// temporary workaround for Bug 359210. We never want to walk frames.
|
||||
// Aaron Leventhal will refix :before and :after content later without walking frames.
|
||||
#if 0
|
||||
if (mState.frame && mState.siblingIndex < 0) {
|
||||
// Container frames can contain generated content frames from
|
||||
// :before and :after style rules, so we walk their frame trees
|
||||
|
@ -295,6 +298,7 @@ void nsAccessibleTreeWalker::UpdateFrame(PRBool aTryFirstChild)
|
|||
mState.domNode = do_QueryInterface(mState.frame->GetContent());
|
||||
mState.siblingIndex = eSiblingsWalkFrames;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
mState.frame = mState.frame->GetNextSibling();
|
||||
|
|
Загрузка…
Ссылка в новой задаче