зеркало из https://github.com/mozilla/pjs.git
Fix for bug 4559 in the Necko builds. Earlier this code change was made in code that affected non-Necko builds.
This commit is contained in:
Родитель
33a70566b1
Коммит
90890a0c0d
|
@ -1842,7 +1842,8 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec,
|
|||
// If it's a normal reload that uses the cache, look at the destination anchor
|
||||
// and see if it's an element within the current document
|
||||
#ifdef NECKO
|
||||
if ((aType == nsIChannel::LOAD_NORMAL) && (nsnull != mContentViewer))
|
||||
if ((aType == nsIChannel::LOAD_NORMAL) && (nsnull != mContentViewer) &&
|
||||
(nsnull == aPostData))
|
||||
#else
|
||||
if ((aType == nsURLReload || aType == nsURLReloadFromHistory) &&
|
||||
(nsnull != mContentViewer) && (nsnull == aPostData))
|
||||
|
|
|
@ -1842,7 +1842,8 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec,
|
|||
// If it's a normal reload that uses the cache, look at the destination anchor
|
||||
// and see if it's an element within the current document
|
||||
#ifdef NECKO
|
||||
if ((aType == nsIChannel::LOAD_NORMAL) && (nsnull != mContentViewer))
|
||||
if ((aType == nsIChannel::LOAD_NORMAL) && (nsnull != mContentViewer) &&
|
||||
(nsnull == aPostData))
|
||||
#else
|
||||
if ((aType == nsURLReload || aType == nsURLReloadFromHistory) &&
|
||||
(nsnull != mContentViewer) && (nsnull == aPostData))
|
||||
|
|
Загрузка…
Ссылка в новой задаче