[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.2.3-2-1-g1fa3f4f

Gustavo Noronha Silva kov at debian.org
Wed Aug 11 14:07:36 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 1fa3f4f408b786d227e9d313e3195f4969062afe
Author: Gustavo Noronha Silva <kov at debian.org>
Date:   Wed Aug 11 10:11:41 2010 -0300

    Do not print a debugging message before doing the domain check

diff --git a/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp b/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
index 4e58cd3..a2dc0b5 100644
--- a/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
+++ b/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
@@ -213,8 +213,6 @@ String FrameLoaderClient::userAgent(const KURL& url)
     gboolean useQuirks;
     g_object_get(settings, "enable-site-specific-quirks", &useQuirks, NULL);
 
-    g_message("useQuirks: %d / %d / %s", useQuirks, isGoogleDomain(url.host()), url.host().utf8().data());
-
     // For Google domains, identify as Chrome, so they don't give us a broken experience.
     if (useQuirks && isGoogleDomain(url.host()))
         return chromeUserAgent();
diff --git a/debian/patches/04-spoof-user-agent-to-google.patch b/debian/patches/04-spoof-user-agent-to-google.patch
index db41bec..434d9b7 100644
--- a/debian/patches/04-spoof-user-agent-to-google.patch
+++ b/debian/patches/04-spoof-user-agent-to-google.patch
@@ -27,7 +27,7 @@ index 7187244..4e58cd3 100644
  #include "PlatformString.h"
  #include "PluginDatabase.h"
  #include "RenderPart.h"
-@@ -91,9 +92,133 @@ FrameLoaderClient::~FrameLoaderClient()
+@@ -91,9 +92,131 @@ FrameLoaderClient::~FrameLoaderClient()
          g_object_unref(m_policyDecision);
  }
  
@@ -153,8 +153,6 @@ index 7187244..4e58cd3 100644
 +    gboolean useQuirks;
 +    g_object_get(settings, "enable-site-specific-quirks", &useQuirks, NULL);
 +
-+    g_message("useQuirks: %d / %d / %s", useQuirks, isGoogleDomain(url.host()), url.host().utf8().data());
-+
 +    // For Google domains, identify as Chrome, so they don't give us a broken experience.
 +    if (useQuirks && isGoogleDomain(url.host()))
 +        return chromeUserAgent();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list