| Index: lib/unittest/dom_config.dart
|
| ===================================================================
|
| --- lib/unittest/dom_config.dart (revision 10299)
|
| +++ lib/unittest/dom_config.dart (working copy)
|
| @@ -20,11 +20,8 @@
|
| EventListener _onErrorClosure;
|
|
|
| void onInit() {
|
| - _onErrorClosure = (e) {
|
| - // TODO(vsm): figure out how to expose the stack trace here
|
| - // Currently e.message works in dartium, but not in dartc.
|
| - reportTestError('(DOM callback has errors) Caught $e', '');
|
| - };
|
| + _onErrorClosure =
|
| + (e) => handleExternalError(e, '(DOM callback has errors)');
|
| }
|
|
|
| void onStart() {
|
|
|