Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(890)

Unified Diff: pkg/unittest/lib/html_config.dart

Issue 140853005: update custom elements and shadow dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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, '*');
}
}

Powered by Google App Engine
This is Rietveld 408576698