Enable custom pasteboard on macOS and iOS inside DumpRenderTree and WebKitTestRunner so that we can test the shipping configuration in Safari in our tests.
Created attachment 323375 [details] Patch
Attachment 323375 [details] did not pass style-queue: ERROR: Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.mm:195: The parameter name "data" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 323375 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=323375&action=review > Source/WebCore/platform/cocoa/PasteboardCocoa.mm:198 > + if (existingMIMEs.contains(mimeType)) Nice catch! > Source/WebKit/ChangeLog:8 > + Plumed customPasteboardDataEnabled flag to be used in WebKitTestRunner. *Plumbed
Thanks for the review! (In reply to Wenson Hsieh from comment #3) > Comment on attachment 323375 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=323375&action=review > > > Source/WebCore/platform/cocoa/PasteboardCocoa.mm:198 > > + if (existingMIMEs.contains(mimeType)) > > Nice catch! > > > Source/WebKit/ChangeLog:8 > > + Plumed customPasteboardDataEnabled flag to be used in WebKitTestRunner. > > *Plumbed Will fix.
Committed r223167: <http://trac.webkit.org/changeset/223167>
<rdar://problem/34926645>