Diff
Modified: trunk/Source/WTF/ChangeLog (292350 => 292351)
--- trunk/Source/WTF/ChangeLog 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WTF/ChangeLog 2022-04-04 22:08:44 UTC (rev 292351)
@@ -1,3 +1,12 @@
+2022-04-04 Tim Horton <[email protected]>
+
+ Remove the 'RB_full_manage_WK_jetsam' system feature flag and simplify adjacent logic
+ https://bugs.webkit.org/show_bug.cgi?id=238760
+
+ Reviewed by Chris Dumez.
+
+ * wtf/PlatformHave.h:
+
2022-04-04 Chris Dumez <[email protected]>
Drop mostly unused String(const LChar*) constructor
Modified: trunk/Source/WTF/wtf/PlatformHave.h (292350 => 292351)
--- trunk/Source/WTF/wtf/PlatformHave.h 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2022-04-04 22:08:44 UTC (rev 292351)
@@ -730,10 +730,6 @@
#define HAVE_CTFONTDESCRIPTOR_CREATE_WITH_TEXT_STYLE_AND_ATTRIBUTES 1
#endif
-#if PLATFORM(IOS_FAMILY)
-#define HAVE_RUNNINGBOARD_WEBKIT_PRIORITY_SUPPORT 1
-#endif
-
#if PLATFORM(IOS) || PLATFORM(MACCATALYST)
#define HAVE_UI_EVENT_ATTRIBUTION 1
#endif
Modified: trunk/Source/WebKit/ChangeLog (292350 => 292351)
--- trunk/Source/WebKit/ChangeLog 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WebKit/ChangeLog 2022-04-04 22:08:44 UTC (rev 292351)
@@ -1,5 +1,19 @@
2022-04-04 Tim Horton <[email protected]>
+ Remove the 'RB_full_manage_WK_jetsam' system feature flag and simplify adjacent logic
+ https://bugs.webkit.org/show_bug.cgi?id=238760
+
+ Reviewed by Chris Dumez.
+
+ * FeatureFlags/WebKit-appletvos.plist:
+ * FeatureFlags/WebKit-ios.plist:
+ * FeatureFlags/WebKit-macos.plist:
+ * FeatureFlags/WebKit-watchos.plist:
+ * UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:
+ (WebKit::shouldLeakBoost):
+
+2022-04-04 Tim Horton <[email protected]>
+
Remove some unused system feature flags
https://bugs.webkit.org/show_bug.cgi?id=238755
Modified: trunk/Source/WebKit/FeatureFlags/WebKit-appletvos.plist (292350 => 292351)
--- trunk/Source/WebKit/FeatureFlags/WebKit-appletvos.plist 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WebKit/FeatureFlags/WebKit-appletvos.plist 2022-04-04 22:08:44 UTC (rev 292351)
@@ -77,11 +77,6 @@
<key>Enabled</key>
<true/>
</dict>
- <key>RB_full_manage_WK_jetsam</key>
- <dict>
- <key>Enabled</key>
- <true/>
- </dict>
<key>general_directory_for_storage</key>
<dict>
<key>Enabled</key>
Modified: trunk/Source/WebKit/FeatureFlags/WebKit-ios.plist (292350 => 292351)
--- trunk/Source/WebKit/FeatureFlags/WebKit-ios.plist 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WebKit/FeatureFlags/WebKit-ios.plist 2022-04-04 22:08:44 UTC (rev 292351)
@@ -77,11 +77,6 @@
<key>Enabled</key>
<true/>
</dict>
- <key>RB_full_manage_WK_jetsam</key>
- <dict>
- <key>Enabled</key>
- <true/>
- </dict>
<key>general_directory_for_storage</key>
<dict>
<key>Enabled</key>
Modified: trunk/Source/WebKit/FeatureFlags/WebKit-macos.plist (292350 => 292351)
--- trunk/Source/WebKit/FeatureFlags/WebKit-macos.plist 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WebKit/FeatureFlags/WebKit-macos.plist 2022-04-04 22:08:44 UTC (rev 292351)
@@ -82,11 +82,6 @@
<key>Enabled</key>
<false/>
</dict>
- <key>RB_full_manage_WK_jetsam</key>
- <dict>
- <key>Enabled</key>
- <true/>
- </dict>
<key>general_directory_for_storage</key>
<dict>
<key>Enabled</key>
Modified: trunk/Source/WebKit/FeatureFlags/WebKit-watchos.plist (292350 => 292351)
--- trunk/Source/WebKit/FeatureFlags/WebKit-watchos.plist 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WebKit/FeatureFlags/WebKit-watchos.plist 2022-04-04 22:08:44 UTC (rev 292351)
@@ -77,11 +77,6 @@
<key>Enabled</key>
<true/>
</dict>
- <key>RB_full_manage_WK_jetsam</key>
- <dict>
- <key>Enabled</key>
- <true/>
- </dict>
<key>general_directory_for_storage</key>
<dict>
<key>Enabled</key>
Modified: trunk/Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm (292350 => 292351)
--- trunk/Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm 2022-04-04 22:04:24 UTC (rev 292350)
+++ trunk/Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm 2022-04-04 22:08:44 UTC (rev 292351)
@@ -84,15 +84,10 @@
{
#if PLATFORM(IOS_FAMILY)
UNUSED_PARAM(launchOptions);
-#if HAVE(RUNNINGBOARD_WEBKIT_PRIORITY_SUPPORT)
- // On iOS, we don't need to leak a boost message when RunningBoard process assertions give us the
+ // On iOS, we don't need to leak a boost message because RunningBoard process assertions give us the
// right priorities.
- static const bool runningBoardHandlesPriorities = isFeatureFlagEnabled("RB_full_manage_WK_jetsam"_s);
- return !runningBoardHandlesPriorities;
+ return false;
#else
- return true;
-#endif // HAVE(RUNNINGBOARD_WEBKIT_PRIORITY_SUPPORT)
-#else
// On Mac, leak a boost onto the NetworkProcess, GPUProcess, and WebAuthnProcess.
#if ENABLE(GPU_PROCESS)
if (launchOptions.processType == ProcessLauncher::ProcessType::GPU)