Permalink
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...
1 parent a62b677 commit 849fa4088c9026a2ce484cf9650ee7c145b14054 @briansmith briansmith committed Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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");

0 comments on commit 849fa40

Please sign in to comment.