Title: [253687] trunk/Source/WebKit
Revision
253687
Author
[email protected]
Date
2019-12-18 08:40:26 -0800 (Wed, 18 Dec 2019)

Log Message

Enable the async clipboard API by default on macOS and iOS
https://bugs.webkit.org/show_bug.cgi?id=205322
<rdar://problem/55861627>

Reviewed by Tim Horton.

Enables the asynchronous clipboard API by default on Cocoa platforms.

* Shared/WebPreferences.yaml:
* Shared/WebPreferencesDefaultValues.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (253686 => 253687)


--- trunk/Source/WebKit/ChangeLog	2019-12-18 16:23:49 UTC (rev 253686)
+++ trunk/Source/WebKit/ChangeLog	2019-12-18 16:40:26 UTC (rev 253687)
@@ -1,3 +1,16 @@
+2019-12-18  Wenson Hsieh  <[email protected]>
+
+        Enable the async clipboard API by default on macOS and iOS
+        https://bugs.webkit.org/show_bug.cgi?id=205322
+        <rdar://problem/55861627>
+
+        Reviewed by Tim Horton.
+
+        Enables the asynchronous clipboard API by default on Cocoa platforms.
+
+        * Shared/WebPreferences.yaml:
+        * Shared/WebPreferencesDefaultValues.h:
+
 2019-12-18  Philippe Normand  <[email protected]>
 
         [GTK][WebInspector] Support for saving remote data

Modified: trunk/Source/WebKit/Shared/WebPreferences.yaml (253686 => 253687)


--- trunk/Source/WebKit/Shared/WebPreferences.yaml	2019-12-18 16:23:49 UTC (rev 253686)
+++ trunk/Source/WebKit/Shared/WebPreferences.yaml	2019-12-18 16:40:26 UTC (rev 253687)
@@ -861,7 +861,7 @@
 
 AsyncClipboardAPIEnabled:
   type: bool
-  defaultValue: false
+  defaultValue: DEFAULT_ASYNC_CLIPBOARD_API_ENABLED
   humanReadableName: "Async clipboard API"
   humanReadableDescription: "Enable the async clipboard API"
   category: experimental

Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h (253686 => 253687)


--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2019-12-18 16:23:49 UTC (rev 253686)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2019-12-18 16:40:26 UTC (rev 253687)
@@ -248,8 +248,10 @@
 
 #if PLATFORM(COCOA)
 #define DEFAULT_CUSTOM_PASTEBOARD_DATA_ENABLED true
+#define DEFAULT_ASYNC_CLIPBOARD_API_ENABLED true
 #else
 #define DEFAULT_CUSTOM_PASTEBOARD_DATA_ENABLED false
+#define DEFAULT_ASYNC_CLIPBOARD_API_ENABLED false
 #endif
 
 #if PLATFORM(IOS) || PLATFORM(MAC)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to