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

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

Issue 1097183003: Add an "onPlatform" parameter to test() and group(). (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 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/server.dart
diff --git a/lib/src/runner/browser/server.dart b/lib/src/runner/browser/server.dart
index 9c58885e1f404e794c461a85a730934a383975a4..2a8d08e8e4f9ad4881296edb4d06eed0b149400b 100644
--- a/lib/src/runner/browser/server.dart
+++ b/lib/src/runner/browser/server.dart
@@ -353,7 +353,7 @@ void main() {
// value and [browser.onError].
_browserManagers[platform] = completer.future.catchError((_) {});
var path = _webSocketHandler.create(webSocketHandler((webSocket) {
- completer.complete(new BrowserManager(webSocket));
+ completer.complete(new BrowserManager(platform, webSocket));
}));
var webSocketUrl = url.replace(scheme: 'ws').resolve(path);

Powered by Google App Engine
This is Rietveld 408576698