Skip to content

fix: Fix phishing warning page unresponsiveness#22645

Merged
HowardBraham merged 3 commits intodevelopfrom
update-phishing-warning-page
Jan 23, 2024
Merged

fix: Fix phishing warning page unresponsiveness#22645
HowardBraham merged 3 commits intodevelopfrom
update-phishing-warning-page

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Jan 23, 2024

Description

The phishing warning page was unresponsive on Chrome v122. This update resolves the issue.

See changelog for details: https://github.com/MetaMask/phishing-warning/blob/main/CHANGELOG.md#303

Related issues

Related to the issue described in #22533

Manual testing steps

  1. Navigate to a blocked site
  2. See that the phishing warning page shows up
  3. Ensure that the three buttons/links work correctly ("report a detection problem", "continue to the site", and "Back to safety")

Testing on Chrome Canary (v122) is recommended, that's the only browser we've confirmed as not working previous to this PR.

Screenshots/Recordings

N/A

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Gudahtt Gudahtt added the team-extension-platform Extension Platform team label Jan 23, 2024
@Gudahtt Gudahtt marked this pull request as ready for review January 23, 2024 18:48
@Gudahtt Gudahtt requested a review from a team as a code owner January 23, 2024 18:48
@Gudahtt Gudahtt marked this pull request as draft January 23, 2024 18:48
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [0621ae4]
Page Load Metrics (846 ± 67 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint90163119199
domContentLoaded105817105
load739136584614067
domInteractive105817105
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@Gudahtt Gudahtt force-pushed the update-phishing-warning-page branch from 0621ae4 to 838354a Compare January 23, 2024 20:00
@Gudahtt Gudahtt marked this pull request as ready for review January 23, 2024 20:00
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (417063d) 68.12% compared to head (838354a) 68.13%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #22645      +/-   ##
===========================================
+ Coverage    68.12%   68.13%   +0.01%     
===========================================
  Files         1087     1087              
  Lines        42661    42661              
  Branches     11349    11349              
===========================================
+ Hits         29062    29065       +3     
+ Misses       13599    13596       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [838354a]
Page Load Metrics (800 ± 19 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint922451183316
domContentLoaded9491794
load7398798003919
domInteractive9491794
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@legobeat legobeat requested a review from a team January 23, 2024 21:25
@HowardBraham HowardBraham merged commit 9d7c089 into develop Jan 23, 2024
@HowardBraham HowardBraham deleted the update-phishing-warning-page branch January 23, 2024 22:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2024
@metamaskbot metamaskbot added the release-11.10.0 Issue or pull request that will be included in release 11.10.0 label Jan 23, 2024
@metamaskbot metamaskbot added release-11.7.5 Issue or pull request that will be included in release 11.7.5 and removed release-11.10.0 Issue or pull request that will be included in release 11.10.0 labels Jan 31, 2024
@metamaskbot
Copy link
Copy Markdown
Collaborator

Missing release label release-11.7.5 on PR. Adding release label release-11.7.5 on PR and removing other release labels(release-11.10.0), as PR was cherry-picked in branch 11.7.5.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-11.7.5 Issue or pull request that will be included in release 11.7.5 team-extension-platform Extension Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants