Skip to content
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

Prevent manually connecting to extension UI #8893

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jul 2, 2020

The activeTab.id property is relied upon in the connected sites modal to prevent the user from manually connecting to the MetaMask extension itself. Unfortunately the id property was never set.

id is now set on the activeTab state, so manually connecting to the extension UI is now impossible.

danfinlay
danfinlay previously approved these changes Jul 2, 2020
The `activeTab.id` property is relied upon in the connected sites modal
to prevent the user from manually connecting to the MetaMask extension
itself. Unfortunately the `id` property was never set.

`id` is now set on the `activeTab` state, so manually connecting to the
extension UI is now impossible.
@Gudahtt Gudahtt force-pushed the prevent-manually-connecting-to-extension-ui branch from c47cc15 to aa8b077 Compare July 2, 2020 21:02
@Gudahtt Gudahtt marked this pull request as ready for review July 2, 2020 21:03
@Gudahtt Gudahtt requested a review from a team as a code owner July 2, 2020 21:03
Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

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

LGTM!

@metamaskbot
Copy link
Collaborator

Builds ready [aa8b077]
Page Load Metrics (1015 ± 95 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaintNaNNaNNaNNaNNaN
domContentLoaded5541461101219996
load5561463101519995
domInteractive5541461101119996

@Gudahtt Gudahtt merged commit b25f4bb into develop Jul 2, 2020
@Gudahtt Gudahtt deleted the prevent-manually-connecting-to-extension-ui branch July 2, 2020 21:26
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.

5 participants