Changeset 238137 in webkit


Ignore:
Timestamp:
Nov 13, 2018 10:43:17 AM (5 years ago)
Author:
rniwa@webkit.org
Message:

Enable process swap on cross-site navigation by default on macOS
https://bugs.webkit.org/show_bug.cgi?id=191572

Reviewed by Chris Dumez.

Enabled the feature by default on macOS.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r238134 r238137  
     12018-11-13  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Enable process swap on cross-site navigation by default on macOS
     4        https://bugs.webkit.org/show_bug.cgi?id=191572
     5
     6        Reviewed by Chris Dumez.
     7
     8        Enabled the feature by default on macOS.
     9
     10        * Shared/WebPreferences.yaml:
     11        * Shared/WebPreferencesDefaultValues.h:
     12
    1132018-11-13  Daniel Bates  <dabates@apple.com>
    214
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r238129 r238137  
    13501350ProcessSwapOnCrossSiteNavigationEnabled:
    13511351  type: bool
    1352   defaultValue: false
     1352  defaultValue: DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED
    13531353  humanReadableName: "Swap Processes on Cross-Site Navigation"
    13541354  humanReadableDescription: "Swap WebContent processes on cross-site navigations"
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h

    r238115 r238137  
    209209#endif
    210210
     211#if PLATFORM(MAC)
     212#define DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED true
     213#else
     214#define DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED false
     215#endif
     216
    211217#if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 120000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400) || PLATFORM(WATCHOS)
    212218#define DEFAULT_CONIC_GRADIENT_ENABLED true
Note: See TracChangeset for help on using the changeset viewer.