commit | eeb7a92b212441e4f61aa4b4e7b724f16055c141 | [log] [tgz] |
---|---|---|
author | Jason Simmons <jsimmons@google.com> | Thu Apr 25 15:49:51 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Apr 25 15:49:51 2019 +0000 |
tree | c663798674c37264cabd13c169c06eb026e7a7fc | |
parent | 76c6b86915d54c2a05783d62ba35160a9575dbe3 [diff] |
Pass the authentication code when fetching timeline and CPU profile data See https://github.com/flutter/flutter/issues/31565 Change-Id: I0e84df9539a8b25776b510148a7583294cf90c1d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100521 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>
diff --git a/runtime/observatory/web/timeline.js b/runtime/observatory/web/timeline.js index 9e92ad4..16d8592 100644 --- a/runtime/observatory/web/timeline.js +++ b/runtime/observatory/web/timeline.js
@@ -622,6 +622,7 @@ parser.hostname + ':' + parser.port + + parser.pathname.replace(/\/ws$/, "") + '/_getCpuProfileTimeline?tags=None&isolateId=' + isolateId + '&timeOriginMicros=' + timeOrigin + @@ -646,6 +647,7 @@ parser.hostname + ':' + parser.port + + parser.pathname.replace(/\/ws$/, "") + '/_getVMTimeline'; fetchUri(requestUri, function(event) { // Grab the response.