| Index: lib/unittest/dom_config.dart
|
| diff --git a/lib/unittest/dom_config.dart b/lib/unittest/dom_config.dart
|
| index df4403cffe910dac8281bfa26dc89d6683aa31c0..cd4311f9c746d9752d6ddfed24c6cf906eb91f5a 100644
|
| --- a/lib/unittest/dom_config.dart
|
| +++ b/lib/unittest/dom_config.dart
|
| @@ -23,7 +23,7 @@ class DomConfiguration extends Configuration {
|
| _onErrorClosure = (e) {
|
| // TODO(vsm): figure out how to expose the stack trace here
|
| // Currently e.message works in dartium, but not in dartc.
|
| - notifyError('(DOM callback has errors) Caught $e', '');
|
| + reportTestError('(DOM callback has errors) Caught $e', '');
|
| };
|
| }
|
|
|
| @@ -35,9 +35,11 @@ class DomConfiguration extends Configuration {
|
|
|
| void onTestResult(TestCase testCase) {}
|
|
|
| - void onDone(int passed, int failed, int errors, List<TestCase> results) {
|
| + void onDone(int passed, int failed, int errors, List<TestCase> results,
|
| + String uncaughtError) {
|
| window.removeEventListener('error', _onErrorClosure);
|
| - _showResultsInPage(passed, failed, errors, results, _isLayoutTest);
|
| + _showResultsInPage(passed, failed, errors, results, _isLayoutTest,
|
| + uncaughtError);
|
| window.postMessage('unittest-suite-done', '*');
|
| }
|
| }
|
|
|