| Index: lib/unittest/interactive_html_config.dart
|
| ===================================================================
|
| --- lib/unittest/interactive_html_config.dart (revision 10299)
|
| +++ lib/unittest/interactive_html_config.dart (working copy)
|
| @@ -73,11 +73,8 @@
|
| get autoStart() => false;
|
|
|
| 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)');
|
|
|
| /**
|
| * The master posts a 'start' message to kick things off,
|
| @@ -226,11 +223,8 @@
|
|
|
| void onInit() {
|
| _messageHandler = _handleMessage; // We need to make just one closure.
|
| - _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)');
|
| document.query('#group-divs').innerHTML = "";
|
| }
|
|
|
|
|