Index: tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate |
diff --git a/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate b/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate |
index 10b5d3b3af16353ea5e553cbeea7f52120c512dc..be939d054a3d2af5cfa54494d99d4dbd82ec9ff9 100644 |
--- a/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate |
+++ b/tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate |
@@ -97,7 +97,7 @@ _convertNativeToDart_IDBKey(nativeKey) { |
return false; // number, string. |
} |
if (containsDate(nativeKey)) { |
- throw new UnimplementedError('Key containing Date'); |
+ throw new UnimplementedError('Key containing DateTime'); |
} |
// TODO: Cache conversion somewhere? |
return nativeKey; |
@@ -124,6 +124,6 @@ _convertNativeToDart_IDBAny(object) { |
} |
-const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add Date. |
+const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime. |
const _annotation_Creates_IDBKey = const Creates(_idbKey); |
const _annotation_Returns_IDBKey = const Returns(_idbKey); |