Enable CSSOMViewScrollingAPIEnabled in WebKit1
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jul 2019 00:07:38 +0000 (00:07 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jul 2019 00:07:38 +0000 (00:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=200008
rdar://problem/53409062

Reviewed by Tim Horton.

Default WebKitCSSOMViewScrollingAPIEnabledPreferenceKey to YES, so that
CSSOMViewScrollingAPIEnabled is on for both WebKit1 and WebKit2.

DumpRenderTree already turns this preference on, so this change is not
detected by tests.

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

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

Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/WebView/WebPreferences.mm

index c4cc2d8..cbb9090 100644 (file)
@@ -1,3 +1,20 @@
+2019-07-22  Simon Fraser  <simon.fraser@apple.com>
+
+        Enable CSSOMViewScrollingAPIEnabled in WebKit1
+        https://bugs.webkit.org/show_bug.cgi?id=200008
+        rdar://problem/53409062
+
+        Reviewed by Tim Horton.
+
+        Default WebKitCSSOMViewScrollingAPIEnabledPreferenceKey to YES, so that 
+        CSSOMViewScrollingAPIEnabled is on for both WebKit1 and WebKit2.
+
+        DumpRenderTree already turns this preference on, so this change is not
+        detected by tests.
+
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+
 2019-07-22  Youenn Fablet  <youenn@apple.com>
 
         Disable MediaRecorder for legacy WebKit
index 3d16cc7..4ac8930 100644 (file)
@@ -651,7 +651,7 @@ public:
         @YES, WebKitVisualViewportAPIEnabledPreferenceKey,
 #endif
 
-        [NSNumber numberWithBool:NO], WebKitCSSOMViewScrollingAPIEnabledPreferenceKey,
+        [NSNumber numberWithBool:YES], WebKitCSSOMViewScrollingAPIEnabledPreferenceKey,
         [NSNumber numberWithBool:YES], WebKitNeedsStorageAccessFromFileURLsQuirkKey,
         [NSNumber numberWithBool:NO], WebKitAllowCrossOriginSubresourcesToAskForCredentialsKey,
 #if ENABLE(MEDIA_STREAM)