Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: tests/isolate/pause_test.dart

Issue 153553009: Implement Isolate.pause in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/isolate/isolate.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/pause_test.dart
diff --git a/tests/isolate/pause_test.dart b/tests/isolate/pause_test.dart
index 71691adfc8ca4257d6823afaee05e60541fdafec..22a4fce60189d80306ea757fba3549f6e143488e 100644
--- a/tests/isolate/pause_test.dart
+++ b/tests/isolate/pause_test.dart
@@ -24,10 +24,10 @@ main(){
reply.handler = completer.complete;
Isolate.spawn(isomain1, reply.sendPort).then((Isolate iso) {
isolate = iso;
- resume = isolate.pause();
return completer.future;
}).then((echoPort) {
// Isolate has been created, and first response has been returned.
+ resume = isolate.pause();
echoPort.send(24);
reply.handler = (v) {
throw "RESPONSE WHILE PAUSED?!?";
« no previous file with comments | « tests/isolate/isolate.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698