зеркало из https://github.com/mozilla/gecko-dev.git
Set the xul document title before layout in case xbl constructors want it b=278286 r+sr=bz
This commit is contained in:
Родитель
540c3d249e
Коммит
fb85706c0b
|
@ -2973,12 +2973,12 @@ nsXULDocument::ResumeWalk()
|
|||
// Everything after this point we only want to do once we're
|
||||
// certain that we've been embedded in a presentation shell.
|
||||
|
||||
StartLayout();
|
||||
|
||||
nsAutoString title;
|
||||
mRootContent->GetAttr(kNameSpaceID_None, nsHTMLAtoms::title, title);
|
||||
SetTitle(title);
|
||||
|
||||
StartLayout();
|
||||
|
||||
if (mIsWritingFastLoad && IsChromeURI(mDocumentURI))
|
||||
gXULCache->WritePrototype(mMasterPrototype);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче