From b87f38077c4d3620252baa23fe38ba582451b600 Mon Sep 17 00:00:00 2001 From: "floitsch@google.com" Date: Wed, 5 Oct 2011 11:46:26 +0000 Subject: [PATCH] Make open receive ports a non-fatal closing condition. R=kasperl@google.com Review URL: https://chromereviews.googleplex.com/3508021 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32 260f80e4-7a28-3924-810f-c04153c831b5 --- compiler/lib/implementation/isolate.js | 2 +- tests/isolate/isolate.status | 4 ---- tests/stub-generator/stub-generator.status | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/compiler/lib/implementation/isolate.js b/compiler/lib/implementation/isolate.js index 30b1349bc79..8947a078c58 100644 --- a/compiler/lib/implementation/isolate.js +++ b/compiler/lib/implementation/isolate.js @@ -424,7 +424,7 @@ function isolate$doOneEventLoopIteration() { // This should only trigger when running on the command-line. // We don't want this check to execute in the browser where the isolate // might still be alive due to DOM callbacks. - throw Error("Program exited with open ReceivePorts."); + // throw Error("Program exited with open ReceivePorts."); } return STOP_LOOP; } else { diff --git a/tests/isolate/isolate.status b/tests/isolate/isolate.status index a7cce71eebd..71e40cc007a 100644 --- a/tests/isolate/isolate.status +++ b/tests/isolate/isolate.status @@ -39,10 +39,6 @@ StaticStateTest: Fail # Bug 5401734 [ $arch == chromium ] MandelIsolateTest: Skip # Bug 5353937. -[ $arch == dartc ] -MintMakerPromiseTest: Fail # Bug 5283149. -MintMakerTest: Fail # Bug 5283149. - [ $arch == x64 ] *: Skip diff --git a/tests/stub-generator/stub-generator.status b/tests/stub-generator/stub-generator.status index f28aa687c5b..76508940fec 100644 --- a/tests/stub-generator/stub-generator.status +++ b/tests/stub-generator/stub-generator.status @@ -10,7 +10,6 @@ MintMakerPromiseWithStubsTest: Fail # Bug 5384756 [ $arch == dartc ] MintMakerFullyIsolatedTest: Fail # Bug 5344878 -MintMakerPromiseWithStubsTest: Fail # Bug 5283149 [ $arch == x64 ] *: Skip