gecko-dev/testing/specialpowers
Gabriele Svelto 84b68b502d Bug 1393800 - Have mochitests expecting crashes wait for the crashes to be recorded before clean up; r=mconley
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
2017-08-25 12:47:09 +02:00
..
content Bug 1393800 - Have mochitests expecting crashes wait for the crashes to be recorded before clean up; r=mconley 2017-08-25 12:47:09 +02:00
Makefile.in Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher 2015-11-05 10:00:59 -05:00
bootstrap.js Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher 2015-11-05 10:00:59 -05:00
install.rdf Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher 2015-11-05 10:00:59 -05:00
jar.mn Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00