| 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);
|
|
|