| Index: pkg/unittest/lib/html_config.dart | 
| diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart | 
| index 860ec4fa73d753831f59e4f840acffa17fb5b34f..03d774d3b6aa1f03b6000064e8e7ba836c92b344 100644 | 
| --- a/pkg/unittest/lib/html_config.dart | 
| +++ b/pkg/unittest/lib/html_config.dart | 
| @@ -166,7 +166,11 @@ class HtmlConfiguration extends SimpleConfiguration { | 
|  | 
| void onDone(bool success) { | 
| _uninstallHandlers(); | 
| -    window.postMessage('unittest-suite-done', '*'); | 
| +    if (success) { | 
| +      window.postMessage('unittest-suite-success', '*'); | 
| +    } else { | 
| +      window.postMessage('unittest-suite-fail', '*'); | 
| +    } | 
| } | 
| } | 
|  | 
|  |