зеркало из https://github.com/mozilla/gecko-dev.git
1995f567af
This does not only add new coverage, it also fixes a typo that prevented the test from actually killing the extension process, due to an always-false condition (like bug 1844192). With that typo fixed, this xpcshell test will now actually trigger a extension process crash. Because that triggers the generation of crash dumps when MOZ_CRASHREPORTER is enabled, additional code is needed to clean that up. With all of that done, this test introduces coverage for the following new scenarios: - test_crash_while_starting_background_without_context - test_crash_while_starting_background_with_context - test_crash_while_starting_event_page_without_context - test_crash_while_starting_event_page_with_context - test_crash_after_background_startup - test_crash_after_event_page_startup - test_crash_and_wakeup_via_persistent_listeners The last two tests tasks are the main scenarios of interest, because they are the most likely to occur in the wild. Differential Revision: https://phabricator.services.mozilla.com/D183931 |
||
---|---|---|
.. | ||
BrowserTestUtils | ||
DoHServer | ||
Http2Server | ||
MochiKit | ||
baselinecoverage | ||
chrome | ||
dynamic | ||
embed | ||
manifests | ||
pywebsocket3 | ||
ssltunnel | ||
static | ||
tests | ||
README.txt | ||
ShutdownLeaksCollector.sys.mjs | ||
__init__.py | ||
api.js | ||
bisection.py | ||
browser-harness.xhtml | ||
browser-test.js | ||
chrome-harness.js | ||
chunkifyTests.js | ||
document-builder.sjs | ||
favicon.ico | ||
harness.xhtml | ||
ignorePrefs.json | ||
leaks.py | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
manifest.json | ||
manifest.webapp | ||
manifestLibrary.js | ||
mochitest-e10s-utils.js | ||
mochitestListingsUtils.js | ||
mochitest_options.py | ||
moz.build | ||
pywebsocket_wrapper.py | ||
redirect.html | ||
runjunit.py | ||
runtests.py | ||
runtestsremote.py | ||
schema.json | ||
server.js | ||
shutdown-leaks-collector.js | ||
start_desktop.js |
README.txt
See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.