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

Migrate Cypress WebExtension to use Manifest v3 #24566

Closed
flotwig opened this issue Nov 7, 2022 · 3 comments
Closed

Migrate Cypress WebExtension to use Manifest v3 #24566

flotwig opened this issue Nov 7, 2022 · 3 comments
Assignees
Labels
pkg/extension This is due to an issue in the packages/extension directory

Comments

@flotwig
Copy link
Contributor

flotwig commented Nov 7, 2022

Chrome will begin disabling Manifest v2 extensions by June 2023: https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/

The Cypress WebExtension currently uses Manifest v2, so we need to migrate it to v3. We shouldn't wait until the last minute to do this since many users use old versions of Cypress with newer versions of Chrome.

If Manifest v3 breaks our use case for the WebExtension in Firefox, we may need to continue building a v2 extension while also building a v3 extension for Chrome.

Migration guide: https://developer.chrome.com/docs/extensions/mv3/mv3-migration/

@flotwig flotwig added the pkg/extension This is due to an issue in the packages/extension directory label Nov 7, 2022
@flotwig
Copy link
Contributor Author

flotwig commented Nov 9, 2022

Firefox 101 has beta support for v3: https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/

Unless we want to bump the minimum FF version (and possibly Chrome version, can't find good info on the first version of Cr that supported v3), we'll have to maintain a v2 as well.

@flotwig
Copy link
Contributor Author

flotwig commented Feb 27, 2023

It may also be possible for us to pass a CLI flag or Blink feature to Chrome to delay this as long as possible and normalize this behavior through the versions.

@jennifer-shehane
Copy link
Member

This work is completed in #27888 and will be released in our next release.

@github-project-automation github-project-automation bot moved this from Building to Generally Available in Cypress App Priorities Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/extension This is due to an issue in the packages/extension directory
Projects
None yet
Development

No branches or pull requests

3 participants