зеркало из https://github.com/mozilla/pjs.git
Persist non-unique frame filenames correctly. Bug 166184, r=adamlock, sr=kin
This commit is contained in:
Родитель
4bbc44cb86
Коммит
1b4bed7a2a
|
@ -2980,6 +2980,10 @@ nsWebBrowserPersist::SaveSubframeContent(
|
||||||
mCurrentThingsToPersist++;
|
mCurrentThingsToPersist++;
|
||||||
SaveDocumentInternal(aFrameContent, frameURI, frameDataURI);
|
SaveDocumentInternal(aFrameContent, frameURI, frameDataURI);
|
||||||
|
|
||||||
|
// Store the updated uri to the frame
|
||||||
|
aData->mFile = frameURI;
|
||||||
|
aData->mSubFrameExt.Truncate(); // we already put this in frameURI
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче