commit | ef3e334a185b82752f606768ecd3f4c8083b7275 | [log] [tgz] |
---|---|---|
author | jsbell <jsbell@chromium.org> | Tue Jul 19 01:06:29 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jul 19 01:11:06 2016 |
tree | 61669805676d1b13a643a4b59b4ed92c546c3fda | |
parent | 57038eef935b626468268d2044e63bdef96778ae [diff] |
Remove FileError interface FileError was removed from File API [1] after Chrome had shipped the functionality. Other browsers do not use it, returning a DOMError instead. Using the `code` property has been logging deprecation warnings since August 2013. The affected APIs will now yield DOMExceptions instead (as DOMError is being removed from the platform [2]). Script should inspect the `name` and `message` properties of the error objects. This affects: * FileReader.error * FileWriter.error * FileSystem async API: passed to ErrorCallback on failure * FileSystem sync API: thrown on failure Intent: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/kJMa2rpAYqI Dashboard: https://www.chromestatus.com/feature/6687420359639040 [1] https://w3c.github.io/FileAPI/ [2] https://dom.spec.whatwg.org/#domerror BUG=496901 R=foolip@chromium.org Review-Url: https://codereview.chromium.org/2040563002 Cr-Commit-Position: refs/heads/master@{#406169}