Bug 415078 - "nsWebShell.cpp attempts to fixup immutable URIs" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r+sr=bzbarsky a1.9=schrep]

git-svn-id: svn://10.0.0.236/trunk@245115 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2008-02-07 09:08:17 +00:00
parent 0d5f034895
commit 926cb5fde1

View File

@@ -1161,10 +1161,6 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress,
newURI->GetSpec(newSpec);
NS_ConvertUTF8toUTF16 newSpecW(newSpec);
// This seems evil, since it is modifying the original URL
rv = url->SetSpec(newSpec);
if (NS_FAILED(rv)) return rv;
return LoadURI(newSpecW.get(), // URI string
LOAD_FLAGS_NONE, // Load flags
nsnull, // Referring URI