| 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 33343c95b08bbcfea2e5a4507ada590491d7852b..be8c36c2b11232a2ceb3f80b5b724d81aa9eddf6 100644
|
| --- a/tools/dom/templates/html/impl/impl_DOMException.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_DOMException.darttemplate
|
| @@ -40,36 +40,7 @@ $if DART2JS
|
| return errorName;
|
| }
|
| $endif
|
| -$if JSINTEROP
|
| - String _name;
|
| - String _message;
|
| -
|
| - DomException.jsInterop(String m) {
|
| - var name_index = m.indexOf(': ');
|
| - if (name_index < 0) {
|
| - _name = "";
|
| - _message = m;
|
| - } else {
|
| - _name = m.substring(0, name_index);
|
| - _message = m.substring(name_index + 1).trim();
|
| - }
|
| - }
|
| -
|
| - @DomName('DOMException.message')
|
| - @DocsEditable()
|
| - String get message => _message;
|
| -
|
| - @DomName('DOMException.name')
|
| - @DocsEditable()
|
| - String get name => _name;
|
| -
|
| - @DomName('DOMException.toString')
|
| - @DocsEditable()
|
| - String toString() => "${_name}: $_message";
|
| -
|
| -$else
|
| $!MEMBERS
|
| -$endif
|
| $if DART2JS
|
| @DomName('DOMException.toString')
|
| @DocsEditable()
|
|
|