Title: [256237] trunk/Tools
Revision
256237
Author
jbed...@apple.com
Date
2020-02-10 19:32:16 -0800 (Mon, 10 Feb 2020)

Log Message

TestWebKitAPI: Support ClipboardTests.ReadMultipleItems on Catalyst
https://bugs.webkit.org/show_bug.cgi?id=207501
<rdar://problem/59323414>

Reviewed by Alex Christensen.

* TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm:
(writeMultipleObjectsToPlatformPasteboard): All iOS family ports should have
The same behavior.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (256236 => 256237)


--- trunk/Tools/ChangeLog	2020-02-11 02:18:05 UTC (rev 256236)
+++ trunk/Tools/ChangeLog	2020-02-11 03:32:16 UTC (rev 256237)
@@ -1,3 +1,15 @@
+2020-02-10  Jonathan Bedard  <jbed...@apple.com>
+
+        TestWebKitAPI: Support ClipboardTests.ReadMultipleItems on Catalyst
+        https://bugs.webkit.org/show_bug.cgi?id=207501
+        <rdar://problem/59323414>
+
+        Reviewed by Alex Christensen.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm:
+        (writeMultipleObjectsToPlatformPasteboard): All iOS family ports should have
+        The same behavior.
+
 2020-02-10  Alan Sien Wei Hshieh  <hsh...@apple.com>
 
         Add a variant of -[WKWebViewPrivate _getContentsAsStringWithCompletionHandler:] that includes contents from subframes

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm (256236 => 256237)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm	2020-02-11 02:18:05 UTC (rev 256236)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm	2020-02-11 03:32:16 UTC (rev 256237)
@@ -108,7 +108,7 @@
     NSPasteboard *pasteboard = NSPasteboard.generalPasteboard;
     [pasteboard clearContents];
     [pasteboard writeObjects:@[firstItem.get(), secondItem.get(), thirdItem.get(), fourthItem.get()]];
-#elif PLATFORM(IOS)
+#elif PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
     auto firstItem = adoptNS([[NSItemProvider alloc] initWithObject:@"Hello"]);
     auto secondItem = adoptNS([[NSItemProvider alloc] initWithObject:[NSURL URLWithString:@"https://apple.com/"]]);
     auto thirdItem = adoptNS([[NSItemProvider alloc] init]);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to