Fix chrome://kill debug URL to simulate process kills correctly.
The implementation of this debug URL was changed in https://chromium-review.googlesource.com/c/chromium/src/+/907675 to one which _exit()s the process under POSIX, rather than self-terminating via kill(). Since we detect process kills (versus self-termination, crashes etc) by checking for SIGTERM, this broke chrome://kill. Fix chrome://kill by explicitly kill()ing the process, and structure the implementation to make clear that we need to simulate termination by a peer process, specifically. Bug: 806451, 854926 Change-Id: I0408dd1d248e04b3045f37d46051c220b33ab081 Reviewed-on: https://chromium-review.googlesource.com/1116076Reviewed-by:Jochen Eisinger <jochen@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#570801}
Showing
Please register or sign in to comment