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 d663fcd6ce51846b6646db38a54eb882ff01bf1b..f69d9294942b94b3b77a0216b5870d2569589cde 100644 |
--- a/tools/dom/templates/html/impl/impl_Location.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Location.darttemplate |
@@ -17,4 +17,10 @@ $if DART2JS |
return '${this.protocol}//${this.host}'; |
} |
$endif |
+ |
+$if DART2JS |
+ @DomName('Location.toString') |
+ @DocsEditable() |
+ String toString() => JS('String', 'String(#)', this); |
+$endif |
} |