RESOLVED FIXED 148995
sendProcessWillSuspendImminently uses a wrong message flag
https://bugs.webkit.org/show_bug.cgi?id=148995
Summary sendProcessWillSuspendImminently uses a wrong message flag
Alexey Proskuryakov
Reported 2015-09-08 23:10:37 PDT
WebProcessProxy::sendProcessWillSuspendImminently (and its NetworkProcess counterpart) passes IPC::InterruptWaitingIfSyncMessageArrives to sendSync, but this value can only be used with waitForMessage. Not sure if this is a real bug - this flag gets interpreted as IPC::InformPlatformProcessWillSuspend, which may or may not be what we are after here. This code was added in http://trac.webkit.org/r184105
Attachments
Patch (1.70 KB, patch)
2015-09-10 12:32 PDT, Daniel Bates
ap: review+
ap: commit-queue-
Daniel Bates
Comment 1 2015-09-10 12:32:22 PDT
Alexey Proskuryakov
Comment 2 2015-09-10 12:51:34 PDT
Comment on attachment 260940 [details] Patch Looks good, however please make the same fix in NetworkProcessProxy.
Daniel Bates
Comment 3 2015-09-10 13:13:09 PDT
(In reply to comment #2) > Comment on attachment 260940 [details] > Patch > > Looks good, however please make the same fix in NetworkProcessProxy. Will fix before landing.
Daniel Bates
Comment 4 2015-09-10 13:14:05 PDT
Note You need to log in before you can comment on or make changes to this bug.