RESOLVED FIXED 189919
SharedBuffer should have an equality test
https://bugs.webkit.org/show_bug.cgi?id=189919
Summary SharedBuffer should have an equality test
Jer Noble
Reported 2018-09-24 10:30:53 PDT
SharedBuffer should have an equality test
Attachments
Patch (4.81 KB, patch)
2018-09-24 10:34 PDT, Jer Noble
no flags
Patch (5.62 KB, patch)
2018-09-24 12:24 PDT, Jer Noble
no flags
Patch for landing (5.41 KB, patch)
2018-09-24 14:16 PDT, Jer Noble
no flags
Patch for landing (5.40 KB, patch)
2018-09-24 14:52 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2018-09-24 10:34:09 PDT
Jer Noble
Comment 2 2018-09-24 12:24:15 PDT
Alex Christensen
Comment 3 2018-09-24 12:38:14 PDT
Comment on attachment 350663 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=350663&action=review > Source/WebCore/platform/SharedBuffer.h:176 > + bool isEqualTo(const SharedBuffer&) const; bool operator==(const SharedBuffer&) const
Jer Noble
Comment 4 2018-09-24 14:16:50 PDT
Created attachment 350684 [details] Patch for landing
EWS Watchlist
Comment 5 2018-09-24 14:18:43 PDT
Attachment 350684 [details] did not pass style-queue: ERROR: Source/WebCore/platform/SharedBuffer.h:177: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alex Christensen
Comment 6 2018-09-24 14:49:10 PDT
Comment on attachment 350684 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=350684&action=review > Source/WebCore/platform/SharedBuffer.h:177 > + bool operator!=(const SharedBuffer& right) const { return !operator==(right); } The name "right" doesn't make sense here. I would've written this like this: bool operator!=(const SharedBuffer& other) const { return !(*this == other); }
Jer Noble
Comment 7 2018-09-24 14:52:19 PDT
Created attachment 350695 [details] Patch for landing
WebKit Commit Bot
Comment 8 2018-09-24 15:30:59 PDT
The commit-queue encountered the following flaky tests while processing attachment 350695 [details]: The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 9 2018-09-24 15:31:09 PDT
The commit-queue encountered the following flaky tests while processing attachment 350695 [details]: fetch/fetch-worker-crash.html bug 187257 (author: youennf@gmail.com) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 10 2018-09-24 16:48:58 PDT
Comment on attachment 350695 [details] Patch for landing Clearing flags on attachment: 350695 Committed r236443: <https://trac.webkit.org/changeset/236443>
WebKit Commit Bot
Comment 11 2018-09-24 16:49:00 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12 2018-09-24 16:49:25 PDT
Note You need to log in before you can comment on or make changes to this bug.