Persist non-unique frame filenames correctly. Bug 166184, r=adamlock, sr=kin

This commit is contained in:
bzbarsky%mit.edu 2002-09-03 22:17:05 +00:00
Родитель 4bbc44cb86
Коммит 1b4bed7a2a
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2980,6 +2980,10 @@ nsWebBrowserPersist::SaveSubframeContent(
mCurrentThingsToPersist++;
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;
}