-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Persist phishing state controller state. #16643
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
segun
force-pushed
the
dev-olu-mv3-fix-phishing-list
branch
4 times, most recently
from
December 12, 2022 17:30
39716db
to
f72e718
Compare
danjm
force-pushed
the
dev-olu-mv3-fix-phishing-list
branch
from
December 14, 2022 15:45
f72e718
to
705dfdf
Compare
segun
force-pushed
the
dev-olu-mv3-fix-phishing-list
branch
from
December 16, 2022 17:40
705dfdf
to
96e7b66
Compare
Signed-off-by: Akintayo A. Olusegun <[email protected]> update phishing controller to latest version Signed-off-by: Akintayo A. Olusegun <[email protected]> Rebase, Yarn3, Lavamoat Signed-off-by: Akintayo A. Olusegun <[email protected]> run allow-scrips. Signed-off-by: Akintayo A. Olusegun <[email protected]> lavamoat:auto and linter Signed-off-by: Akintayo A. Olusegun <[email protected]>
danjm
force-pushed
the
dev-olu-mv3-fix-phishing-list
branch
from
January 5, 2023 14:42
96e7b66
to
ac338ff
Compare
Signed-off-by: Akintayo A. Olusegun <[email protected]>
Builds ready [4d5f120]
Page Load Metrics (1548 ± 122 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [1b2d3bf]
Page Load Metrics (1574 ± 116 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
danjm
approved these changes
Jan 11, 2023
brad-decker
approved these changes
Jan 18, 2023
There was a problem hiding this 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Explanation
In MV3, when you restart Metamask (or when SW restarts), all the phishing lists are not loaded. This means some phishing sites are not blocked on the first run after a restart.
This PR fixes this issue by persisting PhishingController state.
Manual Testing Steps
yarn start:mv3
https://poccoinss.com/
orhttps://polygonteechnology.info
https://poccoinss.com/
orhttps://polygonteechnology.info
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.