Reland:NativeIO: Add Error Handling for file errors
This is a reland of https://crrev.com/c/2436344 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: I5b9623d22653daff168221468c2a1be837668c6c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577472Reviewed-by:Mike West <mkwst@chromium.org> Commit-Queue: Richard Stotz <rstz@chromium.org> Cr-Commit-Position: refs/heads/master@{#835118}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment