mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
84b68b502d
This patch includes a bunch of somewhat related fixes, these are: - Ensuring that when a mochitest calls SimpleTest.expectChildProcessCrash() the harness will wait for the crashes to be recorded before deleting the dump files. This involves a message round-trip between the content and parent process so to minimize its performance impact on all the non-crashing tests it is done only when required. - As an additional optimization, the SimpleTest harness will not send a message to the content process anymore whenever it receives an ipc:content-shutdown event, instead it does it only for abnormal shutdowns. - Manually fixing remaining mochitests causing crashes to wait for crashes to be recorded before finishing and deleting the dump files. - Modifying BrowserTestUtils.crashBrowser() so that it optionally does not delete the dump files, this is useful for tests that submit their dumps and thus delete them on their own. MozReview-Commit-ID: 4SLJ8BjJ18n --HG-- extra : source : b5452a41bb962c6929292c5c538e19ac28d84fe7
8 lines
123 B
INI
8 lines
123 B
INI
[DEFAULT]
|
|
skip-if = os == 'android'
|
|
support-files =
|
|
process_error.xul
|
|
|
|
[test_process_error.xul]
|
|
skip-if = !crashreporter
|