Title: [235079] trunk/Tools
Revision
235079
Author
[email protected]
Date
2018-08-20 09:43:30 -0700 (Mon, 20 Aug 2018)

Log Message

[iOS] Paste is missing from callout bar when pasteboard only contains custom data
https://bugs.webkit.org/show_bug.cgi?id=184271
<rdar://problem/39256708>

Reviewed by Andy Estes.

This API test is failing when run against older macOS builds, where custom pasteboard
data is not enabled by default.

* TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (235078 => 235079)


--- trunk/Tools/ChangeLog	2018-08-20 14:08:47 UTC (rev 235078)
+++ trunk/Tools/ChangeLog	2018-08-20 16:43:30 UTC (rev 235079)
@@ -1,3 +1,17 @@
+2018-08-20  Wenson Hsieh  <[email protected]>
+
+        [iOS] Paste is missing from callout bar when pasteboard only contains custom data
+        https://bugs.webkit.org/show_bug.cgi?id=184271
+        <rdar://problem/39256708>
+
+        Reviewed by Andy Estes.
+
+        This API test is failing when run against older macOS builds, where custom pasteboard
+        data is not enabled by default.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm:
+        (TestWebKitAPI::TEST):
+
 2018-08-20  Claudio Saavedra  <[email protected]>
 
         Add WPE Debug configuration to the flakiness dashboard

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm (235078 => 235079)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm	2018-08-20 14:08:47 UTC (rev 235078)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm	2018-08-20 16:43:30 UTC (rev 235079)
@@ -266,6 +266,7 @@
     auto configuration = adoptNS([[WKWebViewConfiguration alloc] init]);
     [configuration setURLSchemeHandler:schemeHandler.get() forURLScheme:@"same"];
     [configuration setURLSchemeHandler:schemeHandler.get() forURLScheme:@"different"];
+    WKPreferencesSetCustomPasteboardDataEnabled((WKPreferencesRef)[configuration preferences], true);
 
     auto source = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, 400, 400) configuration:configuration.get()]);
     [source synchronouslyLoadHTMLString:markupForSource baseURL:[NSURL URLWithString:@"same://"]];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to