RESOLVED FIXED233940
Allow `Pasteboard::readBuffer` to read from the pasteboard as a whole instead of a specific item
https://bugs.webkit.org/show_bug.cgi?id=233940
Summary Allow `Pasteboard::readBuffer` to read from the pasteboard as a whole instead...
Devin Rousso
Reported 2021-12-07 10:57:47 PST
.
Attachments
Patch (21.53 KB, patch)
2021-12-07 12:15 PST, Devin Rousso
ews-feeder: commit-queue-
Patch (23.18 KB, patch)
2021-12-07 12:31 PST, Devin Rousso
ews-feeder: commit-queue-
Patch (23.18 KB, patch)
2021-12-07 14:03 PST, Devin Rousso
wenson_hsieh: review+
ews-feeder: commit-queue-
Patch (23.17 KB, patch)
2021-12-09 16:17 PST, Devin Rousso
no flags
Devin Rousso
Comment 1 2021-12-07 12:15:41 PST
Devin Rousso
Comment 2 2021-12-07 12:31:44 PST
Devin Rousso
Comment 3 2021-12-07 14:03:43 PST
Devin Rousso
Comment 4 2021-12-07 15:26:02 PST
This is not actually needed for bug 191379.
Devin Rousso
Comment 5 2021-12-07 21:15:02 PST
actually, this might be necessary
Wenson Hsieh
Comment 6 2021-12-08 22:16:03 PST
Comment on attachment 446235 [details] Patch (In reply to Devin Rousso from comment #5) > actually, this might be necessary It's not really clear from the ChangeLog (or the comments) why this is the case, but it does seem like a fairly straightforward refactoring. I would've thought that simply reading the item at index 0 (or none if there are no items) would achieve the same thing.
Devin Rousso
Comment 7 2021-12-09 16:17:14 PST
(In reply to Wenson Hsieh from comment #6) > (In reply to Devin Rousso from comment #5) > > actually, this might be necessary > > It's not really clear from the ChangeLog (or the comments) why this is the case, but it does seem like a fairly straightforward refactoring. I would've thought that simply reading the item at index 0 (or none if there are no items) would achieve the same thing. I agree that it's not super clear, but as you said since it's pretty straightforward I didn't see a huge benefit in digging into it, both because it would allow us to match WK1 and this approach does work.
Devin Rousso
Comment 8 2021-12-09 16:17:45 PST
EWS
Comment 9 2021-12-10 13:16:59 PST
Committed r286870 (245101@main): <https://commits.webkit.org/245101@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446629 [details].
Radar WebKit Bug Importer
Comment 10 2021-12-10 13:18:18 PST
Note You need to log in before you can comment on or make changes to this bug.