NativeIO: Add Error Handling for file errors
This CL adds a mechanism to report file errors, as reported by base::File::Error, though DOMExceptions. Due to security and privacy considerations, not all errors are exposed to the user. For those operations performed by the browser process (open, rename), the exact error type is not exposed to the renderer. Errors that are not reported by base::File::Error are left unchanged and will be addressed in a followup CL. The design document for this change is https://docs.google.com/document/d/1rvs615AU2s8kVsmUlukbmtQNvUWFny0yzAS_gsnYZEs/ Bug: 1095537 Change-Id: If047ddccb6464dd6efb2b06a5da262d049f1e9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436344 Commit-Queue: Richard Stotz <rstz@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#829643}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment