| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // Dart test program for testing typed data. | 5 // Dart test program for testing typed data. |
| 6 | 6 |
| 7 // Library tag to be able to run in html test framework. | 7 // Library tag to be able to run in html test framework. |
| 8 library TypedDataIsolateTest; | 8 library TypedDataIsolateTest; |
| 9 | 9 |
| 10 import 'dart:io'; | 10 import 'dart:io'; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 main() { | 24 main() { |
| 25 new File(new Options().script).readAsBytes().then((List<int> data) { | 25 new File(new Options().script).readAsBytes().then((List<int> data) { |
| 26 spawnFunction(second).call(data).then((reply) { | 26 spawnFunction(second).call(data).then((reply) { |
| 27 print('got reply'); | 27 print('got reply'); |
| 28 port.close(); | 28 port.close(); |
| 29 }); | 29 }); |
| 30 }); | 30 }); |
| 31 } | 31 } |
| 32 | 32 |
| OLD | NEW |