Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart |
diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart |
index 2bb99f41440d846d8b2676d06d48d6f70788f76e..217877b80867e8fbd092bb3b2abfca71d89157e0 100644 |
--- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart |
+++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart |
@@ -98,7 +98,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; |
@@ -125,7 +125,7 @@ _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); |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |