Chromium Code Reviews| Index: pkg/unittest/lib/html_config.dart |
| diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart |
| index 464030520c29c9f269f83078fd76636d87252d5a..93f17d8692d4098460f37cb3b992e4e78c35ea0d 100644 |
| --- a/pkg/unittest/lib/html_config.dart |
| +++ b/pkg/unittest/lib/html_config.dart |
| @@ -166,7 +166,8 @@ class HtmlConfiguration extends SimpleConfiguration { |
| void onDone(bool success) { |
| _uninstallHandlers(); |
| - window.postMessage('unittest-suite-done', '*'); |
|
Jennifer Messerly
2014/01/27 19:44:31
Without this fix, test failures were showing up as
|
| + var msg = success ? 'unittest-suite-done' : 'unittest-suite-fail'; |
| + window.postMessage(msg, '*'); |
| } |
| } |