fixup, remove OriginAttributes inheritance, needs folding draft parent-intercept
authorAndrew Sutherland <asutherland@asutherland.org>
Sun, 04 Jun 2017 19:33:38 -0400
changeset 401154 37f83461a62270374dfb504bee664021762a7e62
parent 399229 8e6d607b4c3d4a75c01e9594d44b9485a62eaa78
push id4
push userbugmail@asutherland.org
push dateMon, 26 Jun 2017 06:55:04 +0000
milestone55.0a1
fixup, remove OriginAttributes inheritance, needs folding
netwerk/protocol/http/HttpChannelChild.cpp
--- a/netwerk/protocol/http/HttpChannelChild.cpp
+++ b/netwerk/protocol/http/HttpChannelChild.cpp
@@ -2717,19 +2717,16 @@ HttpChannelChild::RecvIssueDeprecationWa
 }
 
 void
 HttpChannelChild::SynthesizeResponse(const nsHttpResponseHead& aSynthesizedResponseHead,
                                      nsIInputStream* aSynthesizedBody,
                                      const nsACString& aFinalURLSpec)
 {
   LOG(("HttpChannelChild::SynthesizeResponse [this=%p]\n", this));
-  OriginAttributes originAttributes;
-  NS_ENSURE_TRUE(NS_GetOriginAttributes(this, originAttributes), false);
-                              originAttributes,
 
   nsTArray<mozilla::ipc::FileDescriptor> fds;
   InputStreamParams synthesized;
   SerializeInputStream(aSynthesizedBody, synthesized, fds);
   MOZ_ASSERT(fds.Length() == 0);
 
   nsCString serializedSecurityInfo;
   nsCOMPtr<nsISerializable> secInfoSer = do_QueryInterface(mSecurityInfo);