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

Unified Diff: runtime/bin/vmservice/client/lib/src/app/application.dart

Issue 322483005: Final Observatory 1.5 fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: runtime/bin/vmservice/client/lib/src/app/application.dart
diff --git a/runtime/bin/vmservice/client/lib/src/app/application.dart b/runtime/bin/vmservice/client/lib/src/app/application.dart
index 7acdb1c2e1e99b5a58818e46fa4c624b8b97d1d6..3ebf280b732a42800563cf59fcccb41f21cba9c5 100644
--- a/runtime/bin/vmservice/client/lib/src/app/application.dart
+++ b/runtime/bin/vmservice/client/lib/src/app/application.dart
@@ -47,6 +47,10 @@ class ServiceObjectPane extends Pane {
void visit(String url) {
assert(element != null);
assert(canVisit(url));
+ if (url == '') {
+ // Nothing requested.
+ return;
+ }
/// Request url from VM and display it.
app.vm.get(url).then((obj) {
ServiceObjectViewElement pane = element;
« no previous file with comments | « runtime/bin/vmservice/client/lib/service_html.dart ('k') | runtime/bin/vmservice/client/lib/src/app/location_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698