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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 1424133002: Fix broken console evaluation in devtools when stopped at an async frame. (Closed) Base URL: git@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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 8ac51db7efaa345264307582d2494ce1e7b75fd1..b651b70b18c8407aaa5090d49422f5c13748f2ef 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -47674,6 +47674,9 @@ class _Utils {
// 'this' needs to be handled by calling Dart_EvaluateExpr with
// 'this' as the target rather than by passing it as an argument.
if (arg == 'this') return;
+ // Avoid being broken by bogus :async_op local returned passed in when
+ // within an async method.
+ if (arg.startsWith(':')) return;
if (args.isNotEmpty) {
sb.write(", ");
}
« no previous file with comments | « no previous file | tools/dom/src/native_DOMImplementation.dart » ('j') | tools/dom/src/native_DOMImplementation.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698