Skip to content

handle org-dartlang-app library uris in dwds #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

jakemac53
Copy link
Contributor

This will only work with the latest edge sdk which returns the original org-dartlang-app uris for libraries, and it will modify those uris to match up with the source map uris.

Existing uris (which are just the basename of the file) are left untouched.

@jakemac53 jakemac53 requested review from grouma and alan-knight May 9, 2019 17:48
@@ -49,5 +49,9 @@ dev_dependencies:
uuid: ^2.0.0
webdriver: ^2.0.0

dependency_overrides:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required but I'm fine leaving it in if you want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait for #384 to land before merging this

Copy link
Member

@natebosch natebosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link or mention the relevant code in build_web_compilers in the commit message so that the fact we're adding a dependency on that detail is clear?

@@ -803,13 +814,16 @@ function($argsString) {
}

/// Runs an eval on the page to compute all the library names in the app.
Future<List<String>> _getLibraryNames() async {
Future<List<Uri>> _getLibraryUris() async {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] https://dart.dev/guides/language/effective-dart/design#avoid-starting-a-method-name-with-get

Future<List<Uri>> get _libraryUris async {? Or maybe _transitiveLibraryUris?

@jakemac53
Copy link
Contributor Author

I believe this is now obsolete, closing for now

@jakemac53 jakemac53 closed this May 30, 2019
@jakemac53 jakemac53 deleted the fix-library-uris branch May 30, 2019 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants