Index: tools/dom/templates/html/impl/impl_Location.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Location.darttemplate b/tools/dom/templates/html/impl/impl_Location.darttemplate |
index f69d9294942b94b3b77a0216b5870d2569589cde..345bc532bfef8af1bb6c989fdd454fb276f574d6 100644 |
--- a/tools/dom/templates/html/impl/impl_Location.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Location.darttemplate |
@@ -8,7 +8,6 @@ part of $LIBRARYNAME; |
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { |
$!MEMBERS |
-$if DART2JS |
@DomName('Location.origin') |
String get origin { |
if (JS('bool', '("origin" in #)', this)) { |
@@ -16,11 +15,8 @@ $if DART2JS |
} |
return '${this.protocol}//${this.host}'; |
} |
-$endif |
-$if DART2JS |
@DomName('Location.toString') |
@DocsEditable() |
String toString() => JS('String', 'String(#)', this); |
-$endif |
} |