forked from mirrors/gecko-dev
Callers of _tryPath (specifically of NativeManifests.lookupManifest) do not expect any errors, and they are not prepared to handle it well, because the expectation is to either return the requested manifest, or to return null + error being logged. The previous implementation could raise uncaught errors, e.g. encoding errors (covered by tests), file access denied, etc. External files should not be able to confuse the internal implementation, so we log the error instead of printing. Now, the only way for errors to be thrown is if there is an actual bug with the internal implementation. Differential Revision: https://phabricator.services.mozilla.com/D180149 |
||
|---|---|---|
| .. | ||
| actors | ||
| components | ||
| content | ||
| crashreporter | ||
| docs | ||
| library | ||
| locales | ||
| locales-preview | ||
| modules | ||
| mozapps | ||
| profile | ||
| system | ||
| themes | ||
| xre | ||
| .eslintrc.js | ||
| l10n-registry.manifest | ||
| moz.build | ||
| moz.configure | ||
| toolkit.mozbuild | ||