Title: [238137] trunk/Source/WebKit
Revision
238137
Author
[email protected]
Date
2018-11-13 10:43:17 -0800 (Tue, 13 Nov 2018)

Log 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:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (238136 => 238137)


--- trunk/Source/WebKit/ChangeLog	2018-11-13 18:43:08 UTC (rev 238136)
+++ trunk/Source/WebKit/ChangeLog	2018-11-13 18:43:17 UTC (rev 238137)
@@ -1,3 +1,15 @@
+2018-11-13  Ryosuke Niwa  <[email protected]>
+
+        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:
+
 2018-11-13  Daniel Bates  <[email protected]>
 
         Consolidate WebKit UIKitSPI.h and UIKitTestSPI.h

Modified: trunk/Source/WebKit/Shared/WebPreferences.yaml (238136 => 238137)


--- trunk/Source/WebKit/Shared/WebPreferences.yaml	2018-11-13 18:43:08 UTC (rev 238136)
+++ trunk/Source/WebKit/Shared/WebPreferences.yaml	2018-11-13 18:43:17 UTC (rev 238137)
@@ -1349,7 +1349,7 @@
 
 ProcessSwapOnCrossSiteNavigationEnabled:
   type: bool
-  defaultValue: false
+  defaultValue: DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED
   humanReadableName: "Swap Processes on Cross-Site Navigation"
   humanReadableDescription: "Swap WebContent processes on cross-site navigations"
   category: experimental

Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h (238136 => 238137)


--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2018-11-13 18:43:08 UTC (rev 238136)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2018-11-13 18:43:17 UTC (rev 238137)
@@ -208,6 +208,12 @@
 #define DEFAULT_SERVICE_WORKERS_ENABLED false
 #endif
 
+#if PLATFORM(MAC)
+#define DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED true
+#else
+#define DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED false
+#endif
+
 #if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 120000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400) || PLATFORM(WATCHOS)
 #define DEFAULT_CONIC_GRADIENT_ENABLED true
 #else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to