metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

chore(2916): refactor stream handler for phishing warning and legacy stream

Open DDDDDanica opened this issue 1 year ago • 4 comments

Description

As part of https://github.com/MetaMask/MetaMask-planning/issues/2916, it is cleaner to extract the stream out of contentscript file and re-use the logic of phishing stream before implement a new stream.

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2916

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

DDDDDanica avatar Aug 19 '24 22:08 DDDDDanica