Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 821000: Add "Mobile; " to the B2G desktop user agent, r=gerv, r=c…

…jones

--HG--
extra : rebase_source : 4d0066f4fb8279c8dd78fee364bbb63828404df6
  • Loading branch information...
commit 849fa4088c9026a2ce484cf9650ee7c145b14054 1 parent a62b677
@briansmith briansmith authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  netwerk/protocol/http/nsHttpHandler.cpp
View
2  netwerk/protocol/http/nsHttpHandler.cpp
@@ -632,7 +632,7 @@ nsHttpHandler::InitUserAgentComponents()
);
#endif
-#if defined(ANDROID) || defined(MOZ_PLATFORM_MAEMO)
+#if defined(ANDROID) || defined(MOZ_PLATFORM_MAEMO) || defined(MOZ_B2G)
nsCOMPtr<nsIPropertyBag2> infoService = do_GetService("@mozilla.org/system-info;1");
NS_ASSERTION(infoService, "Could not find a system info service");
Please sign in to comment.
Something went wrong with that request. Please try again.