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

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

Issue 11785026: Fixing unittest: ensure 'wait-until-done' is posted before we reach the end of (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | pkg/unittest/lib/src/config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/html_enhanced_config.dart
diff --git a/pkg/unittest/lib/html_enhanced_config.dart b/pkg/unittest/lib/html_enhanced_config.dart
index a59078d7e215672464a1c95ba0649a2edc51372e..91309dfbaf6cb65985efceb8193c9405163b38f8 100644
--- a/pkg/unittest/lib/html_enhanced_config.dart
+++ b/pkg/unittest/lib/html_enhanced_config.dart
@@ -66,10 +66,10 @@ class HtmlEnhancedConfiguration extends Configuration {
}
cssElement.innerHtml = _htmlTestCSS;
+ window.postMessage('unittest-suite-wait-for-done', '*');
}
void onStart() {
- window.postMessage('unittest-suite-wait-for-done', '*');
// Listen for uncaught errors.
window.on.error.add(_onErrorClosure);
}
« no previous file with comments | « no previous file | pkg/unittest/lib/src/config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698