e9a99cd479
Turns out we'll sometimes be given the script uri as a package uri, so we have to support that. To further complicate things we're not necessarily given a package config to translate from so we need to use the kernel component as a backup. Change-Id: I06ceb136b0b03164aaf7412d5332ae9c4c3338c4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447220 Reviewed-by: Srujan Gaddam <srujzs@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>