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

Unified Diff: third_party/WebKit/Source/core/dom/ExceptionCode.h

Issue 2838083002: Note that ExceptionCode::kUnknownError is not IDB-specific (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ExceptionCode.h
diff --git a/third_party/WebKit/Source/core/dom/ExceptionCode.h b/third_party/WebKit/Source/core/dom/ExceptionCode.h
index 345779c4346b3c93a9769f69687f65642f902232..6e90967e61b9c57b5c3415783a8f98847b6faa7f 100644
--- a/third_party/WebKit/Source/core/dom/ExceptionCode.h
+++ b/third_party/WebKit/Source/core/dom/ExceptionCode.h
@@ -64,8 +64,11 @@ enum {
kInvalidNodeTypeError,
kDataCloneError,
- // These are IDB-specific.
+ // The operation failed for an unknown transient reason (e.g. out of memory).
+ // Note: Rethrowed V8 exception will also have this code.
kUnknownError,
+
+ // These are IDB-specific.
kConstraintError,
kDataError,
kTransactionInactiveError,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698