-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java][BiDi] implement web extensions #15660
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
@Delta456 webextensions for Python are landing soon. It would be great to merge this also. Are you still just waiting for review? Can you drop a note on slack to ask for a reviewer? |
Yes. I am still waiting for review. I have already asked on slack but I will do it just in case. |
|
I would help, but my Java is about as good as my Swahili |
|
It's been a bit since I coded much in Java either lol, but after a cursory look it LGTM |
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.
Could you please add some JavaDoc or explain in the PR description the approach you are using?
I had to read the code a few times to understand why we have InstallExtensionParameters and UninstallExtensionParameters. Somehow it seems like many classes to do this. Perhaps after reading the approach you are using I would understand this better.
I have used a class-based approach for |
User description
🔗 Related Issues
Implements #15585
💥 What does this PR do?
Implements #15585 for Java binding
🔧 Implementation Notes
The PR will fail on stable firefox and needs firefox to be 138 version as stated in #15585 (comment)
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement, Tests
Description
Add BiDi web extension install/uninstall API for Java
webExtension.installandwebExtension.uninstallcommandsIntroduce new classes for extension data handling
Add comprehensive tests for extension installation methods
Update Bazel build files for new module and test integration
Changes walkthrough 📝
7 files
Add class for extension install via archive pathAdd class for extension install via base64 encodingAdd abstract base class for extension data typesAdd class for extension install via directory pathAdd parameters class for extension installationAdd parameters class for extension uninstallationAdd main API for BiDi web extension install/uninstall5 files
Add Bazel build file for webextension moduleAdd webextension dependency to BiDi module buildAdd webextension dependency to remote module buildAdd webextension dependency to BiDi input test buildAdd Bazel build file for webextension tests1 files
Add tests for BiDi web extension install/uninstall