| 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 30522c400e4c3555b4ea3e63d75fea6f03a957f3..ed571ef96f7cdd348c03ed9e29a484bdb6d60147 100644
|
| --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| @@ -422,8 +422,8 @@ class IdbFactory native "*IDBFactory" {
|
| * Checks to see if getDatabaseNames is supported by the current platform.
|
| */
|
| bool get supportsDatabaseNames {
|
| - return JS('bool', '!!(#.getDatabaseNames || #.webkitGetDatabaseNames)',
|
| - this, this);
|
| + return supported && JS('bool',
|
| + '!!(#.getDatabaseNames || #.webkitGetDatabaseNames)', this, this);
|
| }
|
|
|
|
|
|
|