Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
[WebKit.git] / Source / WebKitLegacy / mac / ChangeLog
index 5852dab..8a66824 100644 (file)
@@ -1,3 +1,23 @@
+2017-08-11  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
+        https://bugs.webkit.org/show_bug.cgi?id=175474
+        <rdar://problem/33844628>
+
+        Reviewed by Wenson Hsieh.
+
+        Replaced the build flag by a runtime flag and disabled the feature by default.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * WebView/WebPreferenceKeysPrivate.h:
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]): Disables dataTransfer.items by default.
+        (-[WebPreferences dataTransferItemsEnabled]): Added.
+        (-[WebPreferences setDataTransferItemsEnabled:]): Added.
+        * WebView/WebPreferencesPrivate.h:
+        * WebView/WebView.mm:
+        (-[WebView _preferencesChanged:]):
+
 2017-08-10  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         Remove ENABLE_GAMEPAD_DEPRECATED