Bug 590258 - Reformat x86-on-x86_64 part of Linux UA string. r+sr=jst, a=beta5+
authorDan Witte <dwitte@mozilla.com>
Fri, 27 Aug 2010 08:12:01 -0700
changeset 51573 a0c61c0145ff5f733cd2961c5b4656c8e6d3f4cc
parent 51572 2914a4cdd7e2a120f143ec8c628c1d36d94057a6
child 51574 4aa15010c20525a58f0a8f28fd47c367a5f58374
push idunknown
push userunknown
push dateunknown
reviewersbeta5
bugs590258
milestone2.0b5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 590258 - Reformat x86-on-x86_64 part of Linux UA string. r+sr=jst, a=beta5+
netwerk/protocol/http/nsHttpHandler.cpp
--- a/netwerk/protocol/http/nsHttpHandler.cpp
+++ b/netwerk/protocol/http/nsHttpHandler.cpp
@@ -780,17 +780,17 @@ nsHttpHandler::InitUserAgentComponents()
         if (strcmp(name.machine, "x86_64") == 0 &&
             sizeof(void *) == sizeof(PRInt32)) {
             // We're running 32-bit code on x86_64. Make this browser
             // look like it's running on i686 hardware, but append "
             // (x86_64)" to the end of the oscpu identifier to be able
             // to differentiate this from someone running 64-bit code
             // on x86_64..
 
-            buf += " i686 (x86_64)";
+            buf += " i686 on x86_64";
         } else {
             buf += ' ';
 
 #ifdef AIX
             // AIX uname returns machine specific info in the uname.machine
             // field and does not return the cpu type like other platforms.
             // We use the AIX version and release numbers instead.
             buf += (char*)name.version;