diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-05-15 00:32:07 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-05-15 00:32:07 +0300 |
commit | 1c9d6206cb04027614d6857786d1d82767664b45 (patch) | |
tree | dd64ba865c10972e6e114783dfdfd3a988555e93 /netwerk/base | |
parent | 1a0462b4587a127d90e36b1f50687a223be8ba0f (diff) | |
download | uxp-1c9d6206cb04027614d6857786d1d82767664b45.tar.gz |
Revert incorrect UAO optimization that broke SSUAO
Diffstat (limited to 'netwerk/base')
-rw-r--r-- | netwerk/base/nsILoadGroup.idl | 6 | ||||
-rw-r--r-- | netwerk/base/nsLoadGroup.cpp | 14 | ||||
-rw-r--r-- | netwerk/base/nsLoadGroup.h | 2 |
3 files changed, 0 insertions, 22 deletions
diff --git a/netwerk/base/nsILoadGroup.idl b/netwerk/base/nsILoadGroup.idl index 4f89bd0e3a..d0cad5ece0 100644 --- a/netwerk/base/nsILoadGroup.idl +++ b/netwerk/base/nsILoadGroup.idl @@ -95,10 +95,4 @@ interface nsILoadGroup : nsIRequest * the docShell has created the default request.) */ attribute nsLoadFlags defaultLoadFlags; - - /** - * The cached user agent override created by UserAgentOverrides.jsm. Used - * for all sub-resource requests in the loadgroup. - */ - attribute ACString userAgentOverrideCache; }; diff --git a/netwerk/base/nsLoadGroup.cpp b/netwerk/base/nsLoadGroup.cpp index 7b75f79422..51d5a9ca7e 100644 --- a/netwerk/base/nsLoadGroup.cpp +++ b/netwerk/base/nsLoadGroup.cpp @@ -809,20 +809,6 @@ nsLoadGroup::SetDefaultLoadFlags(uint32_t aFlags) return NS_OK; } -NS_IMETHODIMP -nsLoadGroup::GetUserAgentOverrideCache(nsACString & aUserAgentOverrideCache) -{ - aUserAgentOverrideCache = mUserAgentOverrideCache; - return NS_OK; -} - -NS_IMETHODIMP -nsLoadGroup::SetUserAgentOverrideCache(const nsACString & aUserAgentOverrideCache) -{ - mUserAgentOverrideCache = aUserAgentOverrideCache; - return NS_OK; -} - //////////////////////////////////////////////////////////////////////////////// diff --git a/netwerk/base/nsLoadGroup.h b/netwerk/base/nsLoadGroup.h index da89ca1b39..20dd94cf95 100644 --- a/netwerk/base/nsLoadGroup.h +++ b/netwerk/base/nsLoadGroup.h @@ -95,8 +95,6 @@ protected: /* For nsPILoadGroupInternal */ uint32_t mTimedNonCachedRequestsUntilOnEndPageLoad; - - nsCString mUserAgentOverrideCache; }; } // namespace net |