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

Unified Diff: runtime/lib/async_patch.dart

Issue 1383983002: Make root-zone handleUncaughtError rethrow with the correct stack. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | runtime/lib/errors.cc » ('j') | sdk/lib/_internal/js_runtime/lib/async_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/async_patch.dart
diff --git a/runtime/lib/async_patch.dart b/runtime/lib/async_patch.dart
index d78534719656c37ca06fc3cdc7354a930bbeadad..9aabb60a9b661d386c7b47eefa1c02344f243985 100644
--- a/runtime/lib/async_patch.dart
+++ b/runtime/lib/async_patch.dart
@@ -182,3 +182,5 @@ class _AsyncStarStreamController {
return cancellationCompleter.future;
}
}
+
+patch void _rethrow(Object error, StackTrace stackTrace) native "Zone_rethrow";
Ivan Posva 2015/10/02 23:40:39 Strictly speaking this native should be named "Asy
Lasse Reichstein Nielsen 2015/10/05 06:18:49 Renamed to Async_rethrow. It's top-level because i
« no previous file with comments | « no previous file | runtime/lib/errors.cc » ('j') | sdk/lib/_internal/js_runtime/lib/async_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698