Title: [216496] releases/WebKitGTK/webkit-2.14/Source/WebCore
Revision
216496
Author
carlo...@webkit.org
Date
2017-05-09 03:21:35 -0700 (Tue, 09 May 2017)

Log Message

Merge r216343 - [GTK] Cannot sign in with new Google sign-in page
https://bugs.webkit.org/show_bug.cgi?id=171770

Reviewed by Carlos Garcia Campos.

Google's new authentication page does not work with the Firefox user
agent that's required to make various Google websites work. Special-case
accounts.google.com so that it receives our standard user agent.

* platform/UserAgentQuirks.cpp:
(WebCore::isGoogle):
(WebCore::urlRequiresFirefoxBrowser):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog (216495 => 216496)


--- releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog	2017-05-09 10:21:28 UTC (rev 216495)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog	2017-05-09 10:21:35 UTC (rev 216496)
@@ -1,3 +1,18 @@
+2017-05-07  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [GTK] Cannot sign in with new Google sign-in page
+        https://bugs.webkit.org/show_bug.cgi?id=171770
+
+        Reviewed by Carlos Garcia Campos.
+
+        Google's new authentication page does not work with the Firefox user
+        agent that's required to make various Google websites work. Special-case
+        accounts.google.com so that it receives our standard user agent.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::isGoogle):
+        (WebCore::urlRequiresFirefoxBrowser):
+
 2017-05-03  Michael Catanzaro  <mcatanz...@igalia.com>
 
         YouTube user agent quirk breaks new YouTube

Modified: releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/gtk/UserAgentGtk.cpp (216495 => 216496)


--- releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/gtk/UserAgentGtk.cpp	2017-05-09 10:21:28 UTC (rev 216495)
+++ releases/WebKitGTK/webkit-2.14/Source/WebCore/platform/gtk/UserAgentGtk.cpp	2017-05-09 10:21:35 UTC (rev 216496)
@@ -221,7 +221,7 @@
 
 static bool urlRequiresFirefoxBrowser(const URL& url)
 {
-    return isGoogle(url);
+    return isGoogle(url) && url.host() != "accounts.google.com";
 }
 
 static bool urlRequiresMacintoshPlatform(const URL& url)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to