Index: tools/dom/templates/html/impl/impl_DOMException.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_DOMException.darttemplate b/tools/dom/templates/html/impl/impl_DOMException.darttemplate |
index db97f86a08129e9ef7284789aad399b603b8e26a..be8c36c2b11232a2ceb3f80b5b724d81aa9eddf6 100644 |
--- a/tools/dom/templates/html/impl/impl_DOMException.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_DOMException.darttemplate |
@@ -41,4 +41,9 @@ $if DART2JS |
} |
$endif |
$!MEMBERS |
+$if DART2JS |
+ @DomName('DOMException.toString') |
+ @DocsEditable() |
+ String toString() => JS('String', 'String(#)', this); |
+$endif |
} |