Title: [255701] branches/safari-610.1.1-branch/Source/WebKitLegacy/mac
Revision
255701
Author
[email protected]
Date
2020-02-04 14:49:44 -0800 (Tue, 04 Feb 2020)

Log Message

Cherry-pick r255494. rdar://problem/58934778

    [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]):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-610.1.1-branch/Source/WebKitLegacy/mac/ChangeLog (255700 => 255701)


--- branches/safari-610.1.1-branch/Source/WebKitLegacy/mac/ChangeLog	2020-02-04 22:49:42 UTC (rev 255700)
+++ branches/safari-610.1.1-branch/Source/WebKitLegacy/mac/ChangeLog	2020-02-04 22:49:44 UTC (rev 255701)
@@ -1,3 +1,37 @@
+2020-02-04  Alan Coon  <[email protected]>
+
+        Cherry-pick r255494. rdar://problem/58934778
+
+    [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]):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-31  Antoine Quint  <[email protected]>
+
+            [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-02-03  Russell Epstein  <[email protected]>
 
         Cherry-pick r255532. rdar://problem/57876140

Modified: branches/safari-610.1.1-branch/Source/WebKitLegacy/mac/WebView/WebPreferences.mm (255700 => 255701)


--- branches/safari-610.1.1-branch/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2020-02-04 22:49:42 UTC (rev 255700)
+++ branches/safari-610.1.1-branch/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2020-02-04 22:49:44 UTC (rev 255701)
@@ -592,7 +592,7 @@
         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheTotalQuota,
         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheDefaultOriginQuota,
         @NO, WebKitHiddenPageDOMTimerThrottlingEnabledPreferenceKey,
-        @NO, WebKitHiddenPageCSSAnimationSuspensionEnabledPreferenceKey,
+        @YES, WebKitHiddenPageCSSAnimationSuspensionEnabledPreferenceKey,
         @NO, WebKitLowPowerVideoAudioBufferSizeEnabledPreferenceKey,
         
         @NO, WebKitUseLegacyTextAlignPositionedElementBehaviorPreferenceKey,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to