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

Partial WebExtension update for 115. #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jobisoft
Copy link

At this stage this is still a prove-of-concept and I have not finished the update completely. This PR removes the BootstrapLoader API and all of your legacy code and recreates the functionality using WebExtension APIs.

If you think this is a working solution, we can move it forward to be a pure WebExtension without any Experiments soon.

  1. The options have to be moved to your dedicated add-on options page, which is a smal html file which will loaded when the user clicks on the wrench icon in the add-on manager. This PR does not include an options page and you need to open about:config to manually change our options.

  2. The PR includes the LegacyPrefs API to continue to access your old prefs. The prefs need to be migrated to WebExtension local storage and after some time the API can be removed.

  3. The PR uses the ScrollToView API, which is needed to fix a bug in TB, which will be resolved soon and then this API can be removed as well.

  4. I do not know what the focus preference was for, it is not used by this PR.

What do you think? I would be available for help on the remaining steps, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant