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

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

Issue 1265333002: Only fetch the Observatory URL in debug mode. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 4 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/dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/server.dart
diff --git a/lib/src/runner/browser/server.dart b/lib/src/runner/browser/server.dart
index 0cd811856255ecba17ae700fe509e0734fd059f9..f46217a8e88af2028d7e6a35f4ab848d119ce208 100644
--- a/lib/src/runner/browser/server.dart
+++ b/lib/src/runner/browser/server.dart
@@ -374,7 +374,8 @@ void main() {
.resolve('packages/test/src/runner/browser/static/index.html')
.replace(queryParameters: {'managerUrl': webSocketUrl.toString()});
- var future = BrowserManager.start(platform, hostUrl, completer.future);
+ var future = BrowserManager.start(platform, hostUrl, completer.future,
+ debug: _config.pauseAfterLoad);
// Capture errors and release them later to avoid Zone issues. This call to
// [_browserManagerFor] is running in a different [LoadSuite] than future
« no previous file with comments | « lib/src/runner/browser/dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698