We have a bug that turning off custom pasteboard data in WK2 doesn’t actually turn it off because defaultCustomPasteboardDataEnabled() returns false in UIProcess, and WebPreferenceStore ends up not updating the preferences after https://trac.webkit.org/changeset/226156. We should simply replace this crazy global settings by a regular runtime enabled flag.
<rdar://problem/36686429>
Created attachment 331893 [details] Fixes the bug
Thanks for the review!
Committed r227282: <https://trac.webkit.org/changeset/227282>