| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test.runner.browser.phantom_js; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 import 'dart:io'; | 6 import 'dart:io'; |
| 9 | 7 |
| 10 import 'package:path/path.dart' as p; | 8 import 'package:path/path.dart' as p; |
| 11 | 9 |
| 12 import '../../util/exit_codes.dart' as exit_codes; | 10 import '../../util/exit_codes.dart' as exit_codes; |
| 13 import '../../util/io.dart'; | 11 import '../../util/io.dart'; |
| 14 import '../application_exception.dart'; | 12 import '../application_exception.dart'; |
| 15 import 'browser.dart'; | 13 import 'browser.dart'; |
| 16 | 14 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 remoteDebuggerCompleter.complete(null); | 82 remoteDebuggerCompleter.complete(null); |
| 85 } | 83 } |
| 86 | 84 |
| 87 return process; | 85 return process; |
| 88 }, remoteDebuggerCompleter.future); | 86 }, remoteDebuggerCompleter.future); |
| 89 } | 87 } |
| 90 | 88 |
| 91 PhantomJS._(Future<Process> startBrowser(), this.remoteDebuggerUrl) | 89 PhantomJS._(Future<Process> startBrowser(), this.remoteDebuggerUrl) |
| 92 : super(startBrowser); | 90 : super(startBrowser); |
| 93 } | 91 } |
| OLD | NEW |