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

Unified Diff: WebCore/storage/IDBDatabaseException.idl

Issue 5722007: Merge 73605 - 2010-12-07 Jeremy Orlow <jorlow@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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
« no previous file with comments | « WebCore/storage/IDBDatabaseException.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/storage/IDBDatabaseException.idl
===================================================================
--- WebCore/storage/IDBDatabaseException.idl (revision 73908)
+++ WebCore/storage/IDBDatabaseException.idl (working copy)
@@ -26,23 +26,30 @@
module storage {
interface [
- Conditional=INDEXED_DATABASE
+ Conditional=INDEXED_DATABASE,
+ DontCheckEnums
] IDBDatabaseException {
- // FIXME: These error codes conflict with others.
+
+ readonly attribute unsigned short code;
+ readonly attribute DOMString name;
+ readonly attribute DOMString message;
+
+#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
+ // Override in a Mozilla compatible format
+ [DontEnum] DOMString toString();
+#endif
+
const unsigned short UNKNOWN_ERR = 1;
- const unsigned short NON_TRANSIENT_ERR = 1;
- const unsigned short NOT_FOUND_ERR = 2;
- const unsigned short CONSTRAINT_ERR = 3;
- const unsigned short DATA_ERR = 4;
- const unsigned short NOT_ALLOWED_ERR = 5;
- const unsigned short SERIAL_ERR = 11;
- const unsigned short RECOVERABLE_ERR = 21;
- const unsigned short TRANSIENT_ERR = 31;
- const unsigned short TIMEOUT_ERR = 32;
- const unsigned short DEADLOCK_ERR = 33;
-
- attribute unsigned short code;
- attribute DOMString message;
+ const unsigned short NON_TRANSIENT_ERR = 2;
+ const unsigned short NOT_FOUND_ERR = 3;
+ const unsigned short CONSTRAINT_ERR = 4;
+ const unsigned short DATA_ERR = 5;
+ const unsigned short NOT_ALLOWED_ERR = 6;
+ const unsigned short SERIAL_ERR = 7;
+ const unsigned short RECOVERABLE_ERR = 8;
+ const unsigned short TRANSIENT_ERR = 9;
+ const unsigned short TIMEOUT_ERR = 10;
+ const unsigned short DEADLOCK_ERR = 11;
};
}
« no previous file with comments | « WebCore/storage/IDBDatabaseException.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698