WebPasteboardProxy::setPasteboardBufferForType should allow zero-size buffers. <rdar://problem/60516302>
Created attachment 393723 [details] Patch v1
As noted in the radar, I was unable to create a test for this. Changing Tools/TestWebKitAPI/Tests/WebKit/execCopy.html to contain only a single non-breaking space does not make the `size` parameter go to zero when running this test: $ ./Tools/Scripts/run-api-tests --release --no-build TestWebKitAPI.WebKit.PasteboardNotifications Changing execCopy.html to contain no copyable content makes the test hang.
Comment on attachment 393723 [details] Patch v1 r=me
Comment on attachment 393723 [details] Patch v1 Clearing flags on attachment: 393723 Committed r258565: <https://trac.webkit.org/changeset/258565>
All reviewed patches have been landed. Closing bug.