diff options
Diffstat (limited to 'WebCore/fileapi/FileError.idl')
-rw-r--r-- | WebCore/fileapi/FileError.idl | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/WebCore/fileapi/FileError.idl b/WebCore/fileapi/FileError.idl index c5dedbe..bab815a 100644 --- a/WebCore/fileapi/FileError.idl +++ b/WebCore/fileapi/FileError.idl @@ -31,21 +31,23 @@ module html { interface [ Conditional=BLOB|FILE_SYSTEM, - DontCheckEnums, NoStaticTables ] FileError { #if !defined(LANGUAGE_OBJECTIVE_C) - const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7; - const unsigned short NOT_FOUND_ERR = 8; - const unsigned short INVALID_STATE_ERR = 11; - const unsigned short SYNTAX_ERR = 12; - const unsigned short INVALID_MODIFICATION_ERR = 13; + // FIXME: Some of constant names are already defined in DOMException.h for Objective-C binding and we cannot have the same names here (they are translated into a enum in the same namespace). + const unsigned short NOT_FOUND_ERR = 1; + const unsigned short SECURITY_ERR = 2; + const unsigned short ABORT_ERR = 3; + const unsigned short NOT_READABLE_ERR = 4; + const unsigned short ENCODING_ERR = 5; + const unsigned short NO_MODIFICATION_ALLOWED_ERR = 6; + const unsigned short INVALID_STATE_ERR = 7; + const unsigned short SYNTAX_ERR = 8; + const unsigned short INVALID_MODIFICATION_ERR = 9; + const unsigned short QUOTA_EXCEEDED_ERR = 10; + const unsigned short TYPE_MISMATCH_ERR = 11; + const unsigned short PATH_EXISTS_ERR = 12; #endif - const unsigned short SECURITY_ERR = 18; - const unsigned short ABORT_ERR = 20; - const unsigned short QUOTA_EXCEEDED_ERR = 22; - const unsigned short NOT_READABLE_ERR = 24; - const unsigned short ENCODING_ERR = 26; readonly attribute unsigned short code; }; } |