Chromium Code Reviews| Index: tools/testing/dart/browser_controller.dart |
| =================================================================== |
| --- tools/testing/dart/browser_controller.dart (revision 26512) |
| +++ tools/testing/dart/browser_controller.dart (working copy) |
| @@ -654,9 +654,9 @@ |
| return; |
| } |
| - if (status.timeout) { |
| + if (status == null || status.timeout) { |
| // We don't do anything, this browser is currently being killed and |
| - // replaced. |
| + // replaced. The browser here can be null if we decided to kill the browser |
|
kustermann
2013/08/22 16:30:44
Yes, Yes: Long line rico!
|
| } else if (status.currentTest != null) { |
| status.currentTest.timeoutTimer.cancel(); |
| status.currentTest.stopwatch.stop(); |