Skip to content

Partial WebExtension update for 115.#6

Open
jobisoft wants to merge 4 commits into
vanowm:masterfrom
jobisoft:master
Open

Partial WebExtension update for 115.#6
jobisoft wants to merge 4 commits into
vanowm:masterfrom
jobisoft:master

Conversation

@jobisoft
Copy link
Copy Markdown

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