Bug 603667: Fix nsIDOMFileError constant values. r=jst a=blocker

This commit is contained in:
Jonas Sicking 2010-12-13 14:24:56 -08:00
Родитель 0a365c4011
Коммит cedccb8330
2 изменённых файлов: 11 добавлений и 10 удалений

Просмотреть файл

@ -40,13 +40,11 @@
[scriptable, uuid(4BDAFB64-15E2-49C1-A090-4315A7884A56)]
interface nsIDOMFileError : nsISupports
{
//File error codes
const unsigned short NOT_FOUND_ERR = 8;
const unsigned short NOT_READABLE_ERR = 24;
const unsigned short SECURITY_ERR = 18;
const unsigned short ABORT_ERR = 20;
const unsigned short ENCODING_ERR = 26;
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;
readonly attribute unsigned short code;
};

Просмотреть файл

@ -40,8 +40,11 @@
[scriptable, uuid(b52356e1-45c5-4d61-b61a-fb9bd91690e1)]
interface nsIDOMFileException : nsISupports
{
const unsigned short NOT_FOUND_ERR = 0;
const unsigned short NOT_READABLE_ERR = 1;
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;
readonly attribute unsigned short code;
};