| Index: dart/tools/testing/dart/test_controller.js
|
| diff --git a/dart/tools/testing/dart/test_controller.js b/dart/tools/testing/dart/test_controller.js
|
| index 1b0354687ff0a7b479532b3c2c05d381bd258331..e4acf73e8661a3c9a0e8757dedb2688eac2c1bf9 100644
|
| --- a/dart/tools/testing/dart/test_controller.js
|
| +++ b/dart/tools/testing/dart/test_controller.js
|
| @@ -74,9 +74,7 @@ function printToDOM(message) {
|
| function printToConsole(message) {
|
| var consoleAvailable = typeof console === 'object';
|
|
|
| - if (!consoleAvailable) {
|
| - printToDOM(message);
|
| - } else {
|
| + if (consoleAvailable) {
|
| console.log(message);
|
| }
|
| }
|
|
|