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

Unified Diff: runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart

Issue 27215002: Very simple version of Isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 2 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
Index: runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart
diff --git a/runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart b/runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart
deleted file mode 100644
index b8088a8ee167cf2caf1736be1565089508242ec9..0000000000000000000000000000000000000000
--- a/runtime/tests/vm/dart/isolate_unhandled_exception_uri_helper.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library isolate_unhandled_exception_uri_helper;
-
-import 'dart:isolate';
-
-// Isolate script that throws an uncaught exception, which is caught by an
-// uncaught exception handler.
-
-void main() {
- port.receive((message, replyTo) {
- if (message == 'throw exception') {
- replyTo.call('throwing exception');
- throw new UnsupportedError('ignore this exception');
- }
- replyTo.call('hello');
- port.close();
- });
-}
-
-bool _unhandledExceptionCallback(IsolateUnhandledException e) {
- return e.source.message == 'ignore this exception';
-}

Powered by Google App Engine
This is Rietveld 408576698