Index: tools/dom/templates/html/impl/impl_History.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_History.darttemplate b/tools/dom/templates/html/impl/impl_History.darttemplate |
index a548b00f6204dbdbd30642bda8f88a91b572f8e7..e27da33d9cc69108a7dd5c34fd2d9d3a315f14de 100644 |
--- a/tools/dom/templates/html/impl/impl_History.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_History.darttemplate |
@@ -15,9 +15,5 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
* * [replaceState] |
* * [state] |
*/ |
-$if DART2JS |
static bool get supportsState => JS('bool', '!!window.history.pushState'); |
-$else |
- static bool get supportsState => true; |
-$endif |
$!MEMBERS} |