mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +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 |
||
---|---|---|
.. | ||
blob_verify.sjs | ||
browser_domainPolicy.js | ||
browser_memory_distribution_telemetry.js | ||
browser_remote_navigation_delay_telemetry.js | ||
browser.ini | ||
chrome.ini | ||
file_bug1086684.html | ||
file_disableScript.html | ||
file_domainPolicy_base.html | ||
mochitest.ini | ||
process_error.xul | ||
test_blob_sliced_from_child_process.html | ||
test_blob_sliced_from_parent_process.html | ||
test_bug1086684.html | ||
test_child_docshell.html | ||
test_cpow_cookies.html | ||
test_CrashService_crash.html | ||
test_Preallocated.html | ||
test_process_error.xul | ||
test_temporaryfile_stream.html |