Bug 751905 - about:memory and JS console broken on inbound tip in unpackaged build. r=bz

This commit is contained in:
Johnny Stenback 2012-05-04 21:46:02 -04:00
parent 0263fda4bf
commit e518a3af61

View File

@ -214,6 +214,9 @@ nsChromeProtocolHandler::NewChannel(nsIURI* aURI,
// Make sure that the channel remembers where it was
// originally loaded from.
nsLoadFlags loadFlags = 0;
result->GetLoadFlags(&loadFlags);
result->SetLoadFlags(loadFlags & ~nsIChannel::LOAD_REPLACE);
rv = result->SetOriginalURI(aURI);
if (NS_FAILED(rv)) return rv;