| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 http.test.html_utils; | |
| 6 | |
| 7 import 'dart:html'; | 5 import 'dart:html'; |
| 8 | 6 |
| 9 export '../utils.dart'; | 7 export '../utils.dart'; |
| 10 | 8 |
| 11 /// The test server's echo URL. | 9 /// The test server's echo URL. |
| 12 Uri get echoUrl => Uri.parse( | 10 Uri get echoUrl => Uri.parse( |
| 13 '${window.location.protocol}//${window.location.host}/echo'); | 11 '${window.location.protocol}//${window.location.host}/echo'); |
| OLD | NEW |