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

Unified Diff: runtime/observatory/lib/src/app/application.dart

Issue 1072423003: When attempting to navigate to a page for an isolate that doesn't exist, offer to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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: runtime/observatory/lib/src/app/application.dart
diff --git a/runtime/observatory/lib/src/app/application.dart b/runtime/observatory/lib/src/app/application.dart
index a76823276e0f34b0996428b57188e5bbb7b56bc4..067d84995161f8bfb51fdd8ae5959c533efd38da 100644
--- a/runtime/observatory/lib/src/app/application.dart
+++ b/runtime/observatory/lib/src/app/application.dart
@@ -111,6 +111,7 @@ class ObservatoryApplication extends Observable {
_pageRegistry.add(new AllocationProfilerPage(this));
_pageRegistry.add(new HeapMapPage(this));
_pageRegistry.add(new VMConnectPage(this));
+ _pageRegistry.add(new IsolateReconnectPage(this));
_pageRegistry.add(new ErrorViewPage(this));
_pageRegistry.add(new MetricsPage(this));
// Note that ErrorPage must be the last entry in the list as it is
@@ -128,7 +129,7 @@ class ObservatoryApplication extends Observable {
if (exception.kind == 'NetworkException') {
// Got a network exception, visit the vm-connect page.
this.vm = null;
- locationManager.go(locationManager.makeLink('/vm-connect/'));
+ locationManager.go(locationManager.makeLink('/vm-connect'));
} else {
_visit(Uri.parse('error/'), null);
}

Powered by Google App Engine
This is Rietveld 408576698