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

Unified Diff: lib/src/runner/browser/iframe_listener.dart

Issue 1196413003: Add a LoadSuite class. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 6 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: lib/src/runner/browser/iframe_listener.dart
diff --git a/lib/src/runner/browser/iframe_listener.dart b/lib/src/runner/browser/iframe_listener.dart
index a9193f68a9664e5dea05cfa19b9bb7fac28a2ff0..0946353a02a7197ab4715a304d09abd26c192fd2 100644
--- a/lib/src/runner/browser/iframe_listener.dart
+++ b/lib/src/runner/browser/iframe_listener.dart
@@ -63,7 +63,9 @@ class IframeListener {
declarer = new Declarer();
await runZoned(() => new Future.sync(main), zoneValues: {
#test.declarer: declarer
- });
+ }, zoneSpecification: new ZoneSpecification(print: (_, __, ___, line) {
+ channel.sink.add({"type": "print", "line": line});
+ }));
} catch (error, stackTrace) {
channel.sink.add({
"type": "error",

Powered by Google App Engine
This is Rietveld 408576698