зеркало из https://github.com/mozilla/gecko-dev.git
Bug 782703 - Ensure object tags get reloaded when unbound/rebound to the tree. r=josh
This commit is contained in:
Родитель
24f80cbe7d
Коммит
112518a985
|
@ -1948,7 +1948,11 @@ nsObjectLoadingContent::UnloadObject(bool aResetState)
|
||||||
|
|
||||||
if (aResetState) {
|
if (aResetState) {
|
||||||
CloseChannel();
|
CloseChannel();
|
||||||
|
mChannelLoaded = false;
|
||||||
mType = eType_Loading;
|
mType = eType_Loading;
|
||||||
|
mURI = mOriginalURI = mBaseURI = nullptr;
|
||||||
|
mContentType.Truncate();
|
||||||
|
mOriginalContentType.Truncate();
|
||||||
}
|
}
|
||||||
|
|
||||||
// This call should be last as it may re-enter
|
// This call should be last as it may re-enter
|
||||||
|
|
Загрузка…
Ссылка в новой задаче