| Index: dart/pkg/unittest/test_controller.js
|
| diff --git a/dart/pkg/unittest/test_controller.js b/dart/pkg/unittest/test_controller.js
|
| index 3698b3e95588b79e7b0c289939c5829ff1ba6a40..0f797d0e70ab7b426ac1cf238347b26ce86e1df4 100644
|
| --- a/dart/pkg/unittest/test_controller.js
|
| +++ b/dart/pkg/unittest/test_controller.js
|
| @@ -112,10 +112,6 @@ function dartMainRunner(main) {
|
| try {
|
| main();
|
| } catch (e) {
|
| - showErrorAndExit(String(e));
|
| - // Calling showErrorAndExit will not call testRunner.notifyDone()
|
| - // at this point. This is because of the async nature of this framework.
|
| - // testRunner.startedDartTest is not true yet. So post a message.
|
| window.postMessage('unittest-suite-fail', '*');
|
| return; // Posting 'dart-main-done' signals success.
|
| }
|
|
|