| Index: pkg/unittest/lib/test_controller.js
|
| ===================================================================
|
| --- pkg/unittest/lib/test_controller.js (revision 26105)
|
| +++ pkg/unittest/lib/test_controller.js (working copy)
|
| @@ -51,6 +51,8 @@
|
| driver.postMessage("STARTING", "*");
|
| }
|
| }
|
| +// We call notifyStart here to notify the encapsulating browser.
|
| +notifyStart();
|
|
|
| function notifyDone() {
|
| if (testRunner) testRunner.notifyDone();
|
| @@ -158,8 +160,6 @@
|
| // dart2js will generate code to call this function instead of calling
|
| // Dart [main] directly. The argument is a closure that invokes main.
|
| function dartMainRunner(main) {
|
| - // We call notifyStart here to notify the encapsulating browser.
|
| - notifyStart();
|
| window.postMessage('dart-calling-main', '*');
|
| try {
|
| main();
|
|
|