Skip to content

[MV3 Debug Extension] Support Bolt workflow #1983

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

Merged
merged 6 commits into from
Feb 23, 2023
Merged

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