Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: Source/core/fileapi/FileError.idl

Issue 22831019: Deprecate FileError in FileAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/fileapi/FileError.idl
diff --git a/Source/core/fileapi/FileError.idl b/Source/core/fileapi/FileError.idl
index 7e5542a36f0d179778a3e8644a827ac8471d8818..4f40dc8dc9e6969bcba00b1b8491869db256de15 100644
--- a/Source/core/fileapi/FileError.idl
+++ b/Source/core/fileapi/FileError.idl
@@ -29,7 +29,7 @@
*/
[
-] interface FileError {
+] interface FileError : DOMError {
arv (Not doing code reviews) 2013/08/21 14:15:22 Maybe [NoInterfaceObject] as well?
do-not-use 2013/08/21 14:19:05 Using [NoInterfaceObject] may break existing appli
arv (Not doing code reviews) 2013/08/21 14:21:39 Good point. My goal was to get people of off File
const unsigned short NOT_FOUND_ERR = 1;
const unsigned short SECURITY_ERR = 2;
const unsigned short ABORT_ERR = 3;
@@ -42,5 +42,6 @@
const unsigned short QUOTA_EXCEEDED_ERR = 10;
const unsigned short TYPE_MISMATCH_ERR = 11;
const unsigned short PATH_EXISTS_ERR = 12;
- readonly attribute unsigned short code;
+
+ [DeprecateAs=FileError] readonly attribute unsigned short code;
};

Powered by Google App Engine
This is Rietveld 408576698