gecko-dev/dom/system/tests
Keefer Rourke 50a79e72d0 Bug 1654295: Reduce boilerplate in IOUtils failure paths r=barret
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
2020-07-30 14:02:50 +00:00
..
.eslintrc.js
chrome.ini Bug 1642454: Implement IOUtils read and writeAtomic methods r=barret,smaug,Gijs 2020-07-02 22:32:03 +00:00
file_bug1197901.html
file_ioutils_worker.js Bug 1653985: Implement IOUtils::stat method r=barret,Gijs 2020-07-23 18:15:30 +00:00
location_service.sjs
location_services_parent.js
mochitest.ini
test_bug1197901.html
test_constants.xhtml
test_ioutils.html Bug 1654295: Reduce boilerplate in IOUtils failure paths r=barret 2020-07-30 14:02:50 +00:00
test_ioutils_worker.xhtml Bug 1642454: Implement IOUtils read and writeAtomic methods r=barret,smaug,Gijs 2020-07-02 22:32:03 +00:00
test_location_services_telemetry.html
worker_constants.js