зеркало из https://github.com/mozilla/gecko-dev.git
50a79e72d0
This change completely overhauls the way errors are handled in `IOUtils`. With the introduction of the new `IOError` type, a useful error message is paired with an `nsresult` at the error site. This provides erroneous callers with more information about what went wrong, while improving consistency with mapping errors to `DOMExceptions`. For error sites where it is not immediately clear what went wrong, messages can be omitted. A default error message will be filled in corresponding with the wrapped `nsresult` when the operation is rejected to the calling JavaScript. Differential Revision: https://phabricator.services.mozilla.com/D84736 |
||
---|---|---|
.. | ||
.eslintrc.js | ||
chrome.ini | ||
file_bug1197901.html | ||
file_ioutils_worker.js | ||
location_service.sjs | ||
location_services_parent.js | ||
mochitest.ini | ||
test_bug1197901.html | ||
test_constants.xhtml | ||
test_ioutils.html | ||
test_ioutils_worker.xhtml | ||
test_location_services_telemetry.html | ||
worker_constants.js |