RESOLVED FIXED Bug 198214
Update messages_unittest.py after r245715
https://bugs.webkit.org/show_bug.cgi?id=198214
Summary Update messages_unittest.py after r245715
youenn fablet
Reported 2019-05-23 22:29:46 PDT
Update messages_unittest.py after https://trac.webkit.org/changeset/245715 to cope with messages.py changes.
Attachments
Patch (4.42 KB, patch)
2019-05-23 22:33 PDT, youenn fablet
no flags
Patch for landing (4.48 KB, patch)
2019-05-24 11:08 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2019-05-23 22:33:25 PDT
Alexey Proskuryakov
Comment 2 2019-05-24 09:58:19 PDT
Comment on attachment 370563 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370563&action=review > Source/WebKit/ChangeLog:3 > + Update messages_unittest.py after https://trac.webkit.org/changeset/245715 Probably enough to say r245715 here. > Source/WebKit/ChangeLog:9 > + Small update to messages.py so that cancelReply is called in case of decoding error. The patch looks good overall, but the ChangeLog confuses me. Isn't the change to messages.py more important? I know that we don't expect this path to be taken, but it has some potential for changing observed behavior anyway. If that happens, everyone will be confused by the title.
youenn fablet
Comment 3 2019-05-24 10:58:53 PDT
(In reply to Alexey Proskuryakov from comment #2) > Comment on attachment 370563 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=370563&action=review > > > Source/WebKit/ChangeLog:3 > > + Update messages_unittest.py after https://trac.webkit.org/changeset/245715 > > Probably enough to say r245715 here. Will do. > > Source/WebKit/ChangeLog:9 > > + Small update to messages.py so that cancelReply is called in case of decoding error. > > The patch looks good overall, but the ChangeLog confuses me. Isn't the > change to messages.py more important? I know that we don't expect this path > to be taken, but it has some potential for changing observed behavior > anyway. If that happens, everyone will be confused by the title. Will update the changelog. This patch does not change observed behavior though, r245715 does. The changes here to messages.py are just to call cancelReply in case of decode error instead of calling completionHandler(IPC::AsyncReplyError<>...) as done in r245715.
youenn fablet
Comment 4 2019-05-24 11:08:04 PDT
Created attachment 370577 [details] Patch for landing
WebKit Commit Bot
Comment 5 2019-05-24 11:55:35 PDT
Comment on attachment 370577 [details] Patch for landing Clearing flags on attachment: 370577 Committed r245749: <https://trac.webkit.org/changeset/245749>
WebKit Commit Bot
Comment 6 2019-05-24 11:55:36 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2019-05-24 11:56:30 PDT
Alexey Proskuryakov
Comment 8 2019-05-24 13:00:50 PDT
> The changes here to messages.py are just to call cancelReply in case of decode error instead of calling completionHandler(IPC::AsyncReplyError<>...) as done in r245715. Which is a change in behavior.
Note You need to log in before you can comment on or make changes to this bug.