Bug 1598520 - Add more logging to DocumentChannel. r=mayhemer,jya

Differential Revision: https://phabricator.services.mozilla.com/D57589

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Matt Woodrow 2020-01-06 21:37:34 +00:00
Родитель f02ab8e1c4
Коммит d18c4f70a4
2 изменённых файлов: 9 добавлений и 0 удалений

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

@ -433,6 +433,10 @@ IPCResult DocumentChannelChild::RecvRedirectToRealChannel(
NS_IMETHODIMP
DocumentChannelChild::OnRedirectVerifyCallback(nsresult aStatusCode) {
LOG(
("DocumentChannelChild OnRedirectVerifyCallback [this=%p, "
"aRv=0x%08" PRIx32 " ]",
this, static_cast<uint32_t>(aStatusCode)));
nsCOMPtr<nsIChannel> redirectChannel = std::move(mRedirectChannel);
RedirectToRealChannelResolver redirectResolver = std::move(mRedirectResolver);

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

@ -425,6 +425,10 @@ DocumentLoadListener::ReadyToVerify(nsresult aResultCode) {
}
void DocumentLoadListener::FinishReplacementChannelSetup(bool aSucceeded) {
LOG(
("DocumentLoadListener FinishReplacementChannelSetup [this=%p, "
"aSucceeded=%d]",
this, aSucceeded));
nsresult rv;
if (mDoingProcessSwitch) {
@ -537,6 +541,7 @@ void DocumentLoadListener::FinishReplacementChannelSetup(bool aSucceeded) {
void DocumentLoadListener::ResumeSuspendedChannel(
nsIStreamListener* aListener) {
LOG(("DocumentLoadListener ResumeSuspendedChannel [this=%p]", this));
RefPtr<nsHttpChannel> httpChannel = do_QueryObject(mChannel);
if (httpChannel) {
httpChannel->SetApplyConversion(mOldApplyConversion);