Bug 1156847 - Part 1: Add the Response::GetSecurityInfo() helper method; r=nsm
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 23 Apr 2015 18:50:04 -0400
changeset 241716 02d49d9e3492ab40da69c48847170ab8491c9e73
parent 241715 b75eb0486721e868c0a27a9aa51a82038678a179
child 241717 b85b9b590db0a9f1e45e5233e165da2e79ac012b
push id28669
push userryanvm@gmail.com
push dateThu, 30 Apr 2015 17:57:05 +0000
treeherdermozilla-central@7723b15ea695 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnsm
bugs1156847
milestone40.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
Bug 1156847 - Part 1: Add the Response::GetSecurityInfo() helper method; r=nsm
dom/fetch/Response.h
--- a/dom/fetch/Response.h
+++ b/dom/fetch/Response.h
@@ -72,16 +72,22 @@ public:
   }
 
   InternalHeaders*
   GetInternalHeaders() const
   {
     return mInternalResponse->Headers();
   }
 
+  const nsCString&
+  GetSecurityInfo() const
+  {
+    return mInternalResponse->GetSecurityInfo();
+  }
+
   Headers* Headers_();
 
   void
   GetBody(nsIInputStream** aStream) { return mInternalResponse->GetBody(aStream); }
 
   static already_AddRefed<Response>
   Error(const GlobalObject& aGlobal);