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

Incompatible with Thunderbird 63 #196

Open
1ec5 opened this issue Oct 24, 2018 · 2 comments
Open

Incompatible with Thunderbird 63 #196

1ec5 opened this issue Oct 24, 2018 · 2 comments
Assignees

Comments

@1ec5
Copy link
Owner

1ec5 commented Oct 24, 2018

AVIM is incompatible with Thunderbird 63. As of version 63, legacy addons either have to make use of a stopgap XUL overlay loader via a manifest.json or become restartless (#9).

@1ec5 1ec5 self-assigned this Oct 24, 2018
@1ec5
Copy link
Owner Author

1ec5 commented Oct 24, 2018

Thunderbird 63 removes <listbox>, which is used in the blacklist preference pane, in favor of <richlistbox>.

<listbox id="ignoredids-list" preference="ignoredids-pref" preference-editable="true" flex="1" seltype="multiple" onselect="optionsPanel.validateRemoveButton();" onkeypress="optionsPanel.onIdListKeyPress(event);" onsyncfrompreference="return optionsPanel.updateIgnoredIds();" onsynctopreference="return optionsPanel.stringFromIgnoredIds();" />

<stringbundleset> and <stringbundle> have also been removed in favor of Services.strings.createBundle(), though the restartless work in #132 wound up removing string bundle usage anyways.

@1ec5
Copy link
Owner Author

1ec5 commented Oct 28, 2018

At least in my local setup, it was pretty straightforward to adopt the XUL overlay loader, though I don’t know what effect the manifest.json will have on older versions of Thunderbird that natively support both legacy and restartless add-ons. It was also necessary to remove a couple other compatibility shims for older versions of Gecko, so it’s likely that supporting Thunderbird 63 and above will require dropping support for Firefox 2–3 and the equivalent Thunderbird versions.

The frame script now loads, but it doesn’t seem to be able to find an nsIEditor for some reason. It could be that Gecko has quietly removed some interface usage that AVIM depends on without removing the interfaces themselves.

@1ec5 1ec5 pinned this issue Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant