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

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

Issue 187923009: Fix Dartium Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « no previous file | runtime/bin/vmservice/client/precommit.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/app/vm.dart
diff --git a/runtime/bin/vmservice/client/lib/src/app/vm.dart b/runtime/bin/vmservice/client/lib/src/app/vm.dart
index 1ed5b5085b8042075fb6fc98cbdb09f4dcd039d2..300291294f64cb43f0c61c9f51368b05d291ebc2 100644
--- a/runtime/bin/vmservice/client/lib/src/app/vm.dart
+++ b/runtime/bin/vmservice/client/lib/src/app/vm.dart
@@ -93,8 +93,10 @@ class HttpVM extends VM {
class DartiumVM extends VM {
final Map _outstandingRequests = new Map();
int _requestSerial = 0;
- PostMessageRequestManager() {
+
+ DartiumVM() {
window.onMessage.listen(_messageHandler);
+ print('Connected to DartiumVM');
}
void _messageHandler(msg) {
@@ -115,7 +117,7 @@ class DartiumVM extends VM {
Map message = {};
message['id'] = idString;
message['method'] = 'observatoryQuery';
- message['query'] = path;
+ message['query'] = '/$path';
_requestSerial++;
var completer = new Completer();
_outstandingRequests[idString] = completer;
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/precommit.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698