Changeset 244140 in webkit


Ignore:
Timestamp:
Apr 10, 2019 11:45:04 AM (5 years ago)
Author:
Wenson Hsieh
Message:

[iOSMac] Opt into modern compatibility mode by default
https://bugs.webkit.org/show_bug.cgi?id=196763
<rdar://problem/49038732>

Reviewed by Tim Horton.

Achieve this by limiting legacy compatibility mode by default to non-iOSMac iOS only.

  • Shared/WebPreferences.yaml:
  • Shared/WebPreferencesDefaultValues.h:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r244139 r244140  
     12019-04-10  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        [iOSMac] Opt into modern compatibility mode by default
     4        https://bugs.webkit.org/show_bug.cgi?id=196763
     5        <rdar://problem/49038732>
     6
     7        Reviewed by Tim Horton.
     8
     9        Achieve this by limiting legacy compatibility mode by default to non-iOSMac iOS only.
     10
     11        * Shared/WebPreferences.yaml:
     12        * Shared/WebPreferencesDefaultValues.h:
     13
    1142019-04-10  Alex Christensen  <achristensen@webkit.org>
    215
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r243836 r244140  
    10631063UseModernCompatibilityModeByDefault:
    10641064  type: bool
    1065   defaultValue: false
     1065  defaultValue: USE_MODERN_COMPATIBILITY_MODE_BY_DEFAULT
    10661066  humanReadableName: "Use Modern Compatibility Mode"
    10671067  humanReadableDescription: "Use modern compatibility mode by default"
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h

    r243347 r244140  
    268268#define DEFAULT_APPLE_PAY_ENABLED false
    269269#endif
     270
     271#if PLATFORM(IOS_FAMILY) && !PLATFORM(IOSMAC)
     272#define USE_MODERN_COMPATIBILITY_MODE_BY_DEFAULT false
     273#else
     274#define USE_MODERN_COMPATIBILITY_MODE_BY_DEFAULT true
     275#endif
Note: See TracChangeset for help on using the changeset viewer.