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

Issue 1268313002: - Implement loading of .packages files from http. (Closed)

Created:
5 years, 4 months ago by Ivan Posva
Modified:
5 years, 4 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

- Implement loading of .packages files from http. - Fix bad type annotation in builtin.dart when getting an async load error. Committed: https://github.com/dart-lang/sdk/commit/337931709a07e0bf3702d1d4b5239307ee98e40d

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -20 lines) Patch
M runtime/bin/builtin.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/loader.dart View 1 chunk +80 lines, -19 lines 4 comments Download

Messages

Total messages: 5 (1 generated)
Ivan Posva
TBR
5 years, 4 months ago (2015-08-05 07:07:43 UTC) #2
Ivan Posva
Committed patchset #1 (id:1) manually as 337931709a07e0bf3702d1d4b5239307ee98e40d (presubmit successful).
5 years, 4 months ago (2015-08-05 07:13:44 UTC) #3
Cutch
Follow up comments https://codereview.chromium.org/1268313002/diff/1/runtime/bin/vmservice/loader.dart File runtime/bin/vmservice/loader.dart (right): https://codereview.chromium.org/1268313002/diff/1/runtime/bin/vmservice/loader.dart#newcode360 runtime/bin/vmservice/loader.dart:360: if (rsp.statusCode != 200) { Check ...
5 years, 4 months ago (2015-08-05 14:52:37 UTC) #4
Ivan Posva
5 years, 4 months ago (2015-08-05 23:58:11 UTC) #5
Message was sent while issue was closed.
Thanks! -ip

https://codereview.chromium.org/1268313002/diff/1/runtime/bin/vmservice/loade...
File runtime/bin/vmservice/loader.dart (right):

https://codereview.chromium.org/1268313002/diff/1/runtime/bin/vmservice/loade...
runtime/bin/vmservice/loader.dart:360: if (rsp.statusCode != 200) {
On 2015/08/05 14:52:37, Cutch wrote:
> Check status code before awaiting on the payload?

This follows the non-async/await code above.

https://codereview.chromium.org/1268313002/diff/1/runtime/bin/vmservice/loade...
runtime/bin/vmservice/loader.dart:400: sp.send("Unsupported base URI to identify
.packages file: "
On 2015/08/05 14:52:37, Cutch wrote:
> Unsupported URI scheme?

Done.

Powered by Google App Engine
This is Rietveld 408576698