3 webkitpy: get ServerProcess out of the reportcrash business
4 https://bugs.webkit.org/show_bug.cgi?id=81600
5
6 Reviewed by NOBODY (OOPS!).
7
8 ServerProcess was half-aware that ReportCrash might run
9 sometimes, and that the process ServerProcess was talking to
10 might have its own crashing subprocesses; neither of these
11 things really worked right and it made the logic convoluted, so
12 this change makes handling crashes completely separate from the
13 server_process code, so that it can focus on just I/O to the
14 subprocess.
15
16 There should be no functional changes resulting from this patch.
17
18 * Scripts/webkitpy/layout_tests/port/server_process.py:
19 (ServerProcess._reset):
20 (ServerProcess._handle_possible_interrupt):
21 (ServerProcess.write):
22 (ServerProcess.read_stdout):
23 (ServerProcess.has_crashed):
24 (ServerProcess._read):
25 (ServerProcess.stop):
26 * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
27 (TrivialMockPort.check_for_leaks):
28 (TestServerProcess.test_broken_pipe):
29 * Scripts/webkitpy/layout_tests/port/webkit.py:
30 (WebKitPort._read_image_diff):
31 (WebKitDriver.has_crashed):
32 (WebKitDriver._check_for_driver_crash):
33 (WebKitDriver.run_test):
34 (WebKitDriver._read_block):
35 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
36 (MockServerProcess.__init__):
37 (MockServerProcess):
38 (MockServerProcess.has_crashed):
39
402012-03-19 Dirk Pranke <dpranke@chromium.org>
41