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 b82020f615b239adf4864be3e0b37913a1d6d4a3..bd412004a89e46c32f7b1fe4a98f36f35d15b018 100644 |
--- a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate |
@@ -9,14 +9,10 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
* Checks to see if Indexed DB is supported on the current platform. |
*/ |
static bool get supported { |
-$if DARTIUM |
- return true; |
-$else |
return JS('bool', |
'!!(window.indexedDB || ' |
'window.webkitIndexedDB || ' |
'window.mozIndexedDB)'); |
-$endif |
} |
@DomName('IDBFactory.open') |
@@ -84,12 +80,8 @@ $endif |
* Checks to see if getDatabaseNames is supported by the current platform. |
*/ |
bool get supportsDatabaseNames { |
-$if DART2JS |
return supported && JS('bool', |
'!!(#.getDatabaseNames || #.webkitGetDatabaseNames)', this, this); |
-$else |
- return true; |
-$endif |
} |
$!MEMBERS |