Skip to content

Only allow AngularDart DevTools to send Dart Debug Extension messages #1678

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 4 commits into from
Jul 11, 2022

Conversation

leonsenft
Copy link
Contributor

This is enforced by externally_connectable in the manifest.json rather than by manually filtering each received message.

leonsenft added 2 commits July 8, 2022 16:59
This ensures Dart AngularDart DevTools is the only extension that can
connect to Dart Debug Extension via runtime.sendMessage and removes the
need to manually check the sender on each message.

https://developer.chrome.com/docs/extensions/mv3/manifest/externally_connectable/
@leonsenft leonsenft requested review from elliette and grouma July 9, 2022 00:01
Copy link
Contributor

@elliette elliette left a comment

Choose a reason for hiding this comment

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

LGTM with just a couple changes. Thanks!

@leonsenft leonsenft merged commit 703c788 into dart-lang:master Jul 11, 2022
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.

3 participants