-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Upgrade devtools extension manifest to version 3 #25057
Conversation
…fest.json files for upgrading to V3
Hi @AnmolBansalDEV! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Thanks for the contribution! I'm actually surprised no JS file needed to be changed. For example, according to this section, |
To add to @mondaychen 's comment I took a look into this issue and I think because of the switch from background pages to service workers with V3 link There is no longer access to |
hey, I've included your recommendation in the code, but I'm facing trouble with how to test the extension. Is there any react community where I can ask doubts? also, I tried to solve the issue @chapmanm3 highlighted but, it says in the code that the request has to be synchronous, If I replace XHR with fetch API, It will be asynchronous, not synchronous. |
@AnmolBansalDEV You can just ask in the original issue. In fact, I'd recommend you to figure out how to test the extension before you create a PR about it. I'll close this PR for now since it looks like you need to get a lot done before it's ready for review. You can re-open it after you fixed the issues. |
To answer your question regarding XHR, you can wrap the logic into the |
Replied here by mistake |
resolves #24522
Summary
since google is pulling the plug on manifestV2, I upgraded the manifest.json files for chrome, edge, and firefox to V3
How did you test this change?
I checked against the google guide for all changes being made.