Add missing OnExamineResponse() call to e10s HTTP. r=biesi
authorJason Duell <jduell.mcbugs@gmail.com>
Mon, 23 May 2011 22:14:16 -0700
changeset 70068 5ea92972f52c2b62a4258dde78837b7439982be6
parent 70067 ae5b84b96fd7d3eae106a2c27ab6f572f6fef9f0
child 70069 58083c2147e288ac76a627d46b5d5940c5e38310
push id20170
push usercbiesinger@gmail.com
push dateTue, 24 May 2011 05:18:32 +0000
treeherdermozilla-central@2f37642dc741 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbiesi
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Add missing OnExamineResponse() call to e10s HTTP. r=biesi
netwerk/protocol/http/HttpChannelChild.cpp
--- a/netwerk/protocol/http/HttpChannelChild.cpp
+++ b/netwerk/protocol/http/HttpChannelChild.cpp
@@ -265,16 +265,19 @@ HttpChannelChild::OnStartRequest(const n
 
   // replace our request headers with what actually got sent in the parent
   mRequestHead.ClearHeaders();
   for (PRUint32 i = 0; i < requestHeaders.Length(); i++) {
     mRequestHead.Headers().SetHeader(nsHttp::ResolveAtom(requestHeaders[i].mHeader),
                                      requestHeaders[i].mValue);
   }
 
+  // notify "http-on-examine-response" observers
+  gHttpHandler->OnExamineResponse(this);
+
   nsresult rv = mListener->OnStartRequest(this, mListenerContext);
   if (NS_FAILED(rv)) {
     Cancel(rv);
     return;
   }
 
   if (mResponseHead)
     SetCookie(mResponseHead->PeekHeader(nsHttp::Set_Cookie));