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

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

Issue 22849010: TestCase times out after 20 seconds. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add copyright and TODO. Created 7 years, 4 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 | « dart/pkg/unittest/lib/src/simple_configuration.dart ('k') | dart/pkg/unittest/lib/unittest.dart » ('j') | 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 439b7033aea8b4d4a097ec61f907ad8848ba0cc4..6ea0e2e207c6f8388c795df90fa6795fd66dfd01 100644
--- a/dart/pkg/unittest/lib/test_controller.js
+++ b/dart/pkg/unittest/lib/test_controller.js
@@ -152,6 +152,7 @@ function dartPrint(msg) {
window.postMessage(msg, '*');
return;
}
+ if (typeof console === 'object') console.warn(msg);
var pre = document.createElement("pre");
pre.appendChild(document.createTextNode(String(msg)));
document.body.appendChild(pre);
« no previous file with comments | « dart/pkg/unittest/lib/src/simple_configuration.dart ('k') | dart/pkg/unittest/lib/unittest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698