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

Unified Diff: tools/dom/templates/html/impl/impl_IDBFactory.darttemplate

Issue 12320101: Fixing Indexed DB supported check. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « tests/html/indexeddb_5_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
index 59625b3fed63ae455905a03e467082db9d5a908f..01031d6f7aebf04d302d48c83f777943b5a7eea7 100644
--- a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
+++ b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
@@ -80,8 +80,8 @@ $endif
*/
bool get supportsDatabaseNames {
$if DART2JS
- return JS('bool', '!!(#.getDatabaseNames || #.webkitGetDatabaseNames)',
- this, this);
+ return supported && JS('bool',
+ '!!(#.getDatabaseNames || #.webkitGetDatabaseNames)', this, this);
$else
return true;
$endif
« no previous file with comments | « tests/html/indexeddb_5_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698