| Index: client/tests/client/dom/DOMIsolatesTest.dart
|
| diff --git a/client/tests/client/dom/DOMIsolatesTest.dart b/client/tests/client/dom/DOMIsolatesTest.dart
|
| index 61d4d7e8276775bc0434ff05f19aeb56897041cb..a79503c2e088160e2ad8da9d722ff4b9f1b61dc3 100644
|
| --- a/client/tests/client/dom/DOMIsolatesTest.dart
|
| +++ b/client/tests/client/dom/DOMIsolatesTest.dart
|
| @@ -17,7 +17,7 @@ isolateMainTrampoline(port) {
|
| final childPortFuture = spawnDomIsolate(window, 'isolateMain');
|
| port.receive((msg, parentPort) {
|
| childPortFuture.then((childPort) {
|
| - childPort.call(msg).receive((response, _) {
|
| + childPort.call(msg).then((response) {
|
| parentPort.send(response);
|
| port.close();
|
| });
|
| @@ -33,7 +33,7 @@ main() {
|
|
|
| asyncTest('Simple DOM isolate test', 1, () {
|
| spawnDomIsolate(iframe.contentWindow, 'isolateMain').then((sendPort) {
|
| - sendPort.call('check').receive((msg, replyTo) {
|
| + sendPort.call('check').then((msg) {
|
| Expect.equals('about:blank', msg);
|
| callbackDone();
|
| });
|
| @@ -42,7 +42,7 @@ main() {
|
|
|
| asyncTest('Nested DOM isolates test', 1, () {
|
| spawnDomIsolate(iframe.contentWindow, 'isolateMainTrampoline').then((sendPort) {
|
| - sendPort.call('check').receive((msg, replyTo) {
|
| + sendPort.call('check').then((msg) {
|
| Expect.equals('about:blank', msg);
|
| callbackDone();
|
| });
|
|
|