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.dartium; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 import 'dart:convert'; | 6 import 'dart:convert'; |
9 import 'dart:io'; | 7 import 'dart:io'; |
10 | 8 |
11 import 'package:async/async.dart'; | 9 import 'package:async/async.dart'; |
12 import 'package:path/path.dart' as p; | 10 import 'package:path/path.dart' as p; |
13 | 11 |
14 import '../../util/io.dart'; | 12 import '../../util/io.dart'; |
15 import '../../utils.dart'; | 13 import '../../utils.dart'; |
16 import 'browser.dart'; | 14 import 'browser.dart'; |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // incorrect WebSocket that already closed. | 241 // incorrect WebSocket that already closed. |
244 return null; | 242 return null; |
245 } | 243 } |
246 }).catchError((error, stackTrace) { | 244 }).catchError((error, stackTrace) { |
247 if (!completer.isCompleted) completer.completeError(error, stackTrace); | 245 if (!completer.isCompleted) completer.completeError(error, stackTrace); |
248 }); | 246 }); |
249 | 247 |
250 return completer.operation; | 248 return completer.operation; |
251 } | 249 } |
252 } | 250 } |
OLD | NEW |