gecko-dev/dom/ipc/tests
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
..
blob_verify.sjs
browser_domainPolicy.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
browser_memory_distribution_telemetry.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
browser_remote_navigation_delay_telemetry.js bug 1376600 - Remove registered(Keyed)Histograms r=Dexter 2017-08-22 09:42:09 -04:00
browser.ini Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg 2017-04-25 17:11:12 +02:00
chrome.ini 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
file_bug1086684.html
file_disableScript.html
file_domainPolicy_base.html
mochitest.ini Bug 1264588: Fix permafail test_cpow_cookies.html. r=smaug 2017-09-12 17:55:10 +02:00
process_error.xul 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
test_blob_sliced_from_child_process.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_blob_sliced_from_parent_process.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug1086684.html Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
test_child_docshell.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_cpow_cookies.html Bug 1264588: Fix permafail test_cpow_cookies.html. r=smaug 2017-09-12 17:55:10 +02:00
test_CrashService_crash.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_Preallocated.html Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
test_process_error.xul Bug 1359326 - Run the minidump analyzer directly from the CrashService code; r=bsmedberg 2017-05-11 14:03:50 +02:00
test_temporaryfile_stream.html Bug 1296531 - Let waitForPixel and friends take a cancelPromise. r=jib 2017-05-29 16:27:45 +02:00