Title: [255494] trunk/Source/WebKitLegacy/mac
Revision
255494
Author
grao...@webkit.org
Date
2020-01-31 07:35:06 -0800 (Fri, 31 Jan 2020)

Log Message

[WK1] hiddenPageCSSAnimationSuspensionEnabled should be enabled by default for Cocoa platforms
https://bugs.webkit.org/show_bug.cgi?id=207042
<rdar://problem/58934778>

Reviewed by Zalan Bujtas.

While HiddenPageCSSAnimationSuspensionEnabled is specified in WebPreferences.yaml to default to DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED,
which is defined to be true on Cocoa platforms in WebPreferencesDefaultValues.h, it is hard-coded to @NO in WK1 although clearly the intent is for
this preference to be enabled. So we switch that default value in WK1 as well.

* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (255493 => 255494)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2020-01-31 14:42:54 UTC (rev 255493)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2020-01-31 15:35:06 UTC (rev 255494)
@@ -1,3 +1,18 @@
+2020-01-31  Antoine Quint  <grao...@apple.com>
+
+        [WK1] hiddenPageCSSAnimationSuspensionEnabled should be enabled by default for Cocoa platforms
+        https://bugs.webkit.org/show_bug.cgi?id=207042
+        <rdar://problem/58934778>
+
+        Reviewed by Zalan Bujtas.
+
+        While HiddenPageCSSAnimationSuspensionEnabled is specified in WebPreferences.yaml to default to DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED,
+        which is defined to be true on Cocoa platforms in WebPreferencesDefaultValues.h, it is hard-coded to @NO in WK1 although clearly the intent is for
+        this preference to be enabled. So we switch that default value in WK1 as well.
+
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+
 2020-01-30  Alex Christensen  <achristen...@webkit.org>
 
         Add WKNavigationDelegate SPI to disable TLS 1.0 and 1.1

Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm (255493 => 255494)


--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2020-01-31 14:42:54 UTC (rev 255493)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2020-01-31 15:35:06 UTC (rev 255494)
@@ -592,7 +592,7 @@
         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheTotalQuota,
         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheDefaultOriginQuota,
         @NO, WebKitHiddenPageDOMTimerThrottlingEnabledPreferenceKey,
-        @NO, WebKitHiddenPageCSSAnimationSuspensionEnabledPreferenceKey,
+        @YES, WebKitHiddenPageCSSAnimationSuspensionEnabledPreferenceKey,
         @YES, WebKitRenderingUpdateThrottlingEnabledPreferenceKey,
         @NO, WebKitLowPowerVideoAudioBufferSizeEnabledPreferenceKey,
         
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to