Skip to content

Conversation

elliette
Copy link
Contributor

@elliette elliette commented Feb 22, 2023

Support Bolt workflow for the new debug extension. The Dart frame is embedded in an IFRAME, so we need to make sure to connect to the correct frame.

See #1779 (comment) for details on why there is no test (added TODO).


DwdsInjector(
this._loadStrategy, {
required bool enableDevtoolsLaunch,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

DwdsInjector is only called from DWDS itself (here: https://github.com/dart-lang/webdev/pull/1983/files#diff-e56f8e114cfd5b74f48f729657275d651f1625eaf2ab0bf85463e6d602335047L122). All of the parameters passed in have default values in DWDS itself, therefore we use those values instead of setting the defaults in two places.

Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

2 participants