Changeset 246313 in webkit


Ignore:
Timestamp:
Jun 11, 2019 8:27:08 AM (5 years ago)
Author:
Michael Catanzaro
Message:

tu-berlin university email web interface (Outlook Web App) goes directly to the light version instead of the normal web app
https://bugs.webkit.org/show_bug.cgi?id=198749

Reviewed by Carlos Garcia Campos.

Source/WebCore:

Add user agent quirk for exchange.tu-berlin.de, which has lost the right to receive an
accurate user agent from WebKit.

  • platform/UserAgentQuirks.cpp:

(WebCore::urlRequiresMacintoshPlatform):

Tools:

  • TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:

(TestWebKitAPI::TEST):

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246312 r246313  
     12019-06-11  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        tu-berlin university email web interface (Outlook Web App) goes directly to the light version instead of the normal web app
     4        https://bugs.webkit.org/show_bug.cgi?id=198749
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Add user agent quirk for exchange.tu-berlin.de, which has lost the right to receive an
     9        accurate user agent from WebKit.
     10
     11        * platform/UserAgentQuirks.cpp:
     12        (WebCore::urlRequiresMacintoshPlatform):
     13
    1142019-06-11  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/WebCore/platform/UserAgentQuirks.cpp

    r243971 r246313  
    9898
    9999    // Microsoft Outlook Web App forces users with WebKitGTK+'s standard user
    100     // agent to use the light version. Earlier versions even blocks users from
     100    // agent to use the light version. Earlier versions even block users from
    101101    // accessing the calendar.
    102     if (domain == "outlook.live.com" || domain == "mail.ntu.edu.tw")
     102    if (domain == "outlook.live.com"
     103        || domain == "mail.ntu.edu.tw"
     104        || domain == "exchange.tu-berlin.de")
    103105        return true;
    104106
  • trunk/Tools/ChangeLog

    r246311 r246313  
     12019-06-11  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        tu-berlin university email web interface (Outlook Web App) goes directly to the light version instead of the normal web app
     4        https://bugs.webkit.org/show_bug.cgi?id=198749
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
     9        (TestWebKitAPI::TEST):
     10
    1112019-06-11  Wenson Hsieh  <wenson_hsieh@apple.com>
    212
  • trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp

    r243971 r246313  
    9696    assertUserAgentForURLHasMacPlatformQuirk("http://paypal.com/");
    9797    assertUserAgentForURLHasMacPlatformQuirk("http://outlook.live.com/");
     98    assertUserAgentForURLHasMacPlatformQuirk("http://mail.ntu.edu.tw/");
     99    assertUserAgentForURLHasMacPlatformQuirk("http://exchange.tu-berlin.de/");
    98100}
    99101
Note: See TracChangeset for help on using the changeset viewer.