Title: [257972] trunk
- Revision
- 257972
- Author
- [email protected]
- Date
- 2020-03-06 01:49:53 -0800 (Fri, 06 Mar 2020)
Log Message
[WPE][GTK] Use Firefox user agent quirk more aggressively on Google Docs
https://bugs.webkit.org/show_bug.cgi?id=208647
Patch by Michael Catanzaro <[email protected]> on 2020-03-06
Reviewed by Carlos Garcia Campos.
Source/WebCore:
I had previously determined that we need to send a Firefox user agent quirk to
accounts.youtube.com to avoid unsupported browser warnings on Google Docs. Either the user
agent check has since become more aggressive, or it somehow depends on factors I don't
understand, but as of today it's no longer enough. We now need the quirk for docs.google.com
as well.
* platform/UserAgentQuirks.cpp:
(WebCore::urlRequiresFirefoxBrowser):
Tools:
* TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
(TestWebKitAPI::TEST):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (257971 => 257972)
--- trunk/Source/WebCore/ChangeLog 2020-03-06 09:31:24 UTC (rev 257971)
+++ trunk/Source/WebCore/ChangeLog 2020-03-06 09:49:53 UTC (rev 257972)
@@ -1,3 +1,19 @@
+2020-03-06 Michael Catanzaro <[email protected]>
+
+ [WPE][GTK] Use Firefox user agent quirk more aggressively on Google Docs
+ https://bugs.webkit.org/show_bug.cgi?id=208647
+
+ Reviewed by Carlos Garcia Campos.
+
+ I had previously determined that we need to send a Firefox user agent quirk to
+ accounts.youtube.com to avoid unsupported browser warnings on Google Docs. Either the user
+ agent check has since become more aggressive, or it somehow depends on factors I don't
+ understand, but as of today it's no longer enough. We now need the quirk for docs.google.com
+ as well.
+
+ * platform/UserAgentQuirks.cpp:
+ (WebCore::urlRequiresFirefoxBrowser):
+
2020-03-05 Zalan Bujtas <[email protected]>
[LFC][TFC] An absolute positioned <table> should establish a table formatting context
Modified: trunk/Source/WebCore/platform/UserAgentQuirks.cpp (257971 => 257972)
--- trunk/Source/WebCore/platform/UserAgentQuirks.cpp 2020-03-06 09:31:24 UTC (rev 257971)
+++ trunk/Source/WebCore/platform/UserAgentQuirks.cpp 2020-03-06 09:49:53 UTC (rev 257972)
@@ -85,7 +85,7 @@
// to reproduce the warnings you will need to sign out of Google, then click
// on a link to a non-public document that requires signing in. The
// unsupported browser warning will be displayed after signing in.
- if (domain == "accounts.youtube.com")
+ if (domain == "accounts.youtube.com" || domain == "docs.google.com")
return true;
// Google Drive shows an unsupported browser warning with WebKitGTK's
Modified: trunk/Tools/ChangeLog (257971 => 257972)
--- trunk/Tools/ChangeLog 2020-03-06 09:31:24 UTC (rev 257971)
+++ trunk/Tools/ChangeLog 2020-03-06 09:49:53 UTC (rev 257972)
@@ -1,3 +1,13 @@
+2020-03-06 Michael Catanzaro <[email protected]>
+
+ [WPE][GTK] Use Firefox user agent quirk more aggressively on Google Docs
+ https://bugs.webkit.org/show_bug.cgi?id=208647
+
+ Reviewed by Carlos Garcia Campos.
+
+ * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
+ (TestWebKitAPI::TEST):
+
2020-03-05 Alex Christensen <[email protected]>
Add WKNavigationDelegatePrivate SPI to inform application of subframe navigations
Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (257971 => 257972)
--- trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp 2020-03-06 09:31:24 UTC (rev 257971)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp 2020-03-06 09:49:53 UTC (rev 257972)
@@ -92,6 +92,7 @@
assertUserAgentForURLHasChromeBrowserQuirk("http://typekit.net/");
assertUserAgentForURLHasFirefoxBrowserQuirk("http://accounts.youtube.com/");
+ assertUserAgentForURLHasFirefoxBrowserQuirk("http://docs.google.com/");
assertUserAgentForURLHasFirefoxBrowserQuirk("http://drive.google.com/");
assertUserAgentForURLHasLinuxPlatformQuirk("http://www.google.com/");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes