- Downloads
Bug 1923264 - Discard unsupported updates in selectUpdate. r=bytesized,nalexander
UpdateService.#selectUpdate currently chooses always the most recent update even when unsupported and an older but supported one is available. This commit makes #selectUpdate discard the unsupported update if a supported alternative is found. Differential Revision: https://phabricator.services.mozilla.com/D224905
Showing
- toolkit/mozapps/update/UpdateService.sys.mjs 4 additions, 2 deletionstoolkit/mozapps/update/UpdateService.sys.mjs
- toolkit/mozapps/update/tests/data/sharedUpdateXML.js 3 additions, 0 deletionstoolkit/mozapps/update/tests/data/sharedUpdateXML.js
- toolkit/mozapps/update/tests/unit_aus_update/mixedUnsupported.js 50 additions, 0 deletions.../mozapps/update/tests/unit_aus_update/mixedUnsupported.js
- toolkit/mozapps/update/tests/unit_aus_update/xpcshell.toml 2 additions, 0 deletionstoolkit/mozapps/update/tests/unit_aus_update/xpcshell.toml
Loading
Please sign in to comment
