Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
elliette committed Aug 22, 2023
1 parent 704c0d5 commit 2064788
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dwds/lib/src/services/chrome_proxy_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,8 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension(

// Note: Ignore the optional local parameter, it is there to keep the method
// signature consistent with the VM service interface.
// TODO(https://github.com/dart-lang/webdev/issues/2198): Add support for g3-
// relative URIs, and support the `local` parameter.
@override
Future<UriList> lookupResolvedPackageUris(
String isolateId,
Expand Down
2 changes: 2 additions & 0 deletions dwds/lib/src/utilities/dart_uri.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ class DartUri {

// If this is an internal app, then the given uri might be g3-relative:
if (globalIsInternalBuild) {
// TODO(https://github.com/dart-lang/webdev/issues/2198): Verify if the
// intermediary conversion to resolvedUri is causing performance issues.
final resolvedUri = _g3RelativeUriToResolvedUri[uri];
return _resolvedUriToUri[resolvedUri];
}
Expand Down

0 comments on commit 2064788

Please sign in to comment.