-
- Downloads
Bug 1727820 - Add testing for `AppUpdater.stop` r=bhearsum
`AppUpdater.stop()` is not currently well tested, and the new implementation relies on throwing exceptions. It's important that these exceptions be properly caught to ensure that we don't end up handling the exception as an internal error or not handling it properly at all. Differential Revision: https://phabricator.services.mozilla.com/D159308
Showing
- browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js 9 additions, 0 deletions...r/disable_app_update/browser_policy_disable_app_update.js
- toolkit/mozapps/update/tests/browser/browser.ini 9 additions, 0 deletionstoolkit/mozapps/update/tests/browser/browser.ini
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_checking.js 32 additions, 0 deletions...s/browser/browser_aboutDialog_AppUpdater_stop_checking.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_download_and_install.js 41 additions, 0 deletions...owser_aboutDialog_AppUpdater_stop_download_and_install.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_download_failed.js 43 additions, 0 deletions...er/browser_aboutDialog_AppUpdater_stop_download_failed.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_downloading.js 45 additions, 0 deletions...rowser/browser_aboutDialog_AppUpdater_stop_downloading.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_internal_error.js 45 additions, 0 deletions...ser/browser_aboutDialog_AppUpdater_stop_internal_error.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_no_update.js 29 additions, 0 deletions.../browser/browser_aboutDialog_AppUpdater_stop_no_update.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_ready_for_restart.js 27 additions, 0 deletions.../browser_aboutDialog_AppUpdater_stop_ready_for_restart.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_staging.js 60 additions, 0 deletions...ts/browser/browser_aboutDialog_AppUpdater_stop_staging.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_AppUpdater_stop_swap.js 63 additions, 0 deletions...tests/browser/browser_aboutDialog_AppUpdater_stop_swap.js
- toolkit/mozapps/update/tests/browser/head.js 6 additions, 3 deletionstoolkit/mozapps/update/tests/browser/head.js
Loading
Please register or sign in to comment