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

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

Issue 1664433002: Support shelf 0.7.0. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 11 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 | « lib/src/runner/browser/browser_manager.dart ('k') | lib/src/runner/browser/iframe_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6f5b321353f7cc66ab405c4c1b2486d4da396977..9e49dfca4930456279920dd682bb7e17c5ff96b4 100644
--- a/lib/src/runner/browser/iframe_listener.dart
+++ b/lib/src/runner/browser/iframe_listener.dart
@@ -6,6 +6,8 @@ import 'dart:async';
import 'dart:convert';
import 'dart:html' hide Metadata;
+import 'package:stream_channel/stream_channel.dart';
+
import '../../backend/declarer.dart';
import '../../backend/group.dart';
import '../../backend/live_test.dart';
@@ -13,7 +15,6 @@ import '../../backend/metadata.dart';
import '../../backend/suite.dart';
import '../../backend/test.dart';
import '../../backend/test_platform.dart';
-import '../../util/multi_channel.dart';
import '../../util/remote_exception.dart';
import '../../utils.dart';
@@ -114,7 +115,8 @@ class IframeListener {
}, window.location.origin);
});
- return new MultiChannel(inputController.stream, outputController.sink);
+ return new MultiChannel(new StreamChannel(
+ inputController.stream, outputController.sink));
}
/// Sends a message over [channel] indicating that the tests failed to load.
« no previous file with comments | « lib/src/runner/browser/browser_manager.dart ('k') | lib/src/runner/browser/iframe_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698