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

Unified Diff: dart/pkg/unittest/lib/test_controller.js

Issue 19968003: dartPrint should propagate unittest-suite-done. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/unittest/lib/test_controller.js
diff --git a/dart/pkg/unittest/lib/test_controller.js b/dart/pkg/unittest/lib/test_controller.js
index 145173ae47954fdfa346c516154c03a2533a0b34..444e221f0748d9b83cce19c5c6e57e6efb7b9e92 100644
--- a/dart/pkg/unittest/lib/test_controller.js
+++ b/dart/pkg/unittest/lib/test_controller.js
@@ -145,6 +145,7 @@ document.addEventListener('readystatechange', function () {
// processMessage above will see them.
function dartPrint(msg) {
if ((msg === 'unittest-suite-success')
+ || (msg === 'unittest-suite-done')
|| (msg === 'unittest-suite-wait-for-done')) {
window.postMessage(msg, '*');
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698