| Index: tests/html/js_interop_4_test.dart
|
| diff --git a/tests/html/js_interop_4_test.dart b/tests/html/js_interop_4_test.dart
|
| index 944506b73c0bcfe48dce612a9b99d53b55dcc47e..3aee5265b6e14b833b80561b7fb5da0f8af11f37 100644
|
| --- a/tests/html/js_interop_4_test.dart
|
| +++ b/tests/html/js_interop_4_test.dart
|
| @@ -11,14 +11,6 @@ import 'dart:isolate';
|
|
|
| const testData = const [1, '2', 'true'];
|
|
|
| -void testIsolateEntry() {
|
| - var fun1 = window.lookupPort('fun1');
|
| - var result = fun1.callSync(testData);
|
| -
|
| - var fun2 = window.lookupPort('fun2');
|
| - fun2.callSync(result);
|
| -}
|
| -
|
| main() {
|
| useHtmlConfiguration();
|
|
|
| @@ -37,29 +29,4 @@ main() {
|
| var result = port2.callSync(testData);
|
| expect(result, 3);
|
| });
|
| -
|
| - // Test across isolate boundary.
|
| - test('dart-to-dart-cross-isolate', () {
|
| - var fun1 = (message) {
|
| - expect(message, orderedEquals(testData));
|
| - return message.length;
|
| - };
|
| -
|
| - var port1 = new ReceivePortSync();
|
| - port1.receive(fun1);
|
| - window.registerPort('fun1', port1.toSendPort());
|
| -
|
| - // TODO(vsm): Investigate why this needs to be called asynchronously.
|
| - var done = expectAsync0(() {});
|
| - var fun2 = (message) {
|
| - expect(message, 3);
|
| - Timer.run(done);
|
| - };
|
| -
|
| - var port2 = new ReceivePortSync();
|
| - port2.receive(fun2);
|
| - window.registerPort('fun2', port2.toSendPort());
|
| -
|
| - spawnDomFunction(testIsolateEntry);
|
| - });
|
| }
|
|
|