Bug 1014579 - [RTSP][V2.0] Full screen mode message shows null host when open in a new tab. r=sworkman
authorEthan Tseng <ettseng@mozilla.com>
Tue, 14 Oct 2014 11:47:03 +0800
changeset 210224 56330f74fbefad89698c1f8dabfeaab9eae337ac
parent 210223 631b7eccd71976266b34a8f5be99eea72aafa661
child 210228 a0a389aaffc1aaea3d1ca2183e91828efd113184
child 210280 e79c6cdd7d7bdce4a97ba555048e3438f4591fde
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerssworkman
bugs1014579
milestone36.0a1
Bug 1014579 - [RTSP][V2.0] Full screen mode message shows null host when open in a new tab. r=sworkman
netwerk/protocol/rtsp/RtspHandler.cpp
--- a/netwerk/protocol/rtsp/RtspHandler.cpp
+++ b/netwerk/protocol/rtsp/RtspHandler.cpp
@@ -35,18 +35,18 @@ RtspHandler::GetDefaultPort(int32_t *aDe
 {
   *aDefaultPort = kDefaultRtspPort;
   return NS_OK;
 }
 
 NS_IMETHODIMP
 RtspHandler::GetProtocolFlags(uint32_t *aProtocolFlags)
 {
-  *aProtocolFlags = URI_NORELATIVE | URI_NOAUTH | URI_INHERITS_SECURITY_CONTEXT |
-    URI_LOADABLE_BY_ANYONE | URI_NON_PERSISTABLE | URI_SYNC_LOAD_IS_OK;
+  *aProtocolFlags = URI_NORELATIVE | URI_NOAUTH | URI_LOADABLE_BY_ANYONE |
+    URI_NON_PERSISTABLE | URI_SYNC_LOAD_IS_OK;
 
   return NS_OK;
 }
 
 NS_IMETHODIMP
 RtspHandler::NewURI(const nsACString & aSpec,
                     const char *aOriginCharset,
                     nsIURI *aBaseURI, nsIURI **aResult)