Uninstall Plugin command
Categories
(SeaMonkey :: Chat, enhancement)
Tracking
(seamonkey2.53+ fixed)
People
(Reporter: bugzilla-mozilla-20000923, Assigned: iannbugzilla)
References
Details
(Whiteboard: SM2.53.9)
Attachments
(1 file, 1 obsolete file)
10.14 KB,
patch
|
frg
:
review+
frg
:
approval-comm-release+
frg
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: no way from within cZ to uninstall plugins
Testing completed (on m-c, etc.): 2.53.9
Risk to taking this patch (and alternatives if risky): small
String changes made by this patch: 3 new strings
This patch:
- Adds /uninstall-plugin <plugin> command
- Creates helper to be used by both cmdLoad and cmdUninstallPlugin to shutdown a plugin
- Creates client helper for use by cmdUninstallPlugin and for potential future UI use
Comment 5•3 years ago
|
||
Comment on attachment 9229110 [details] [diff] [review]
541719-irc-uninstall-plugin-2539.patch
function disableOldPlugin(plugin) and function cmdDisablePlugin(e) look very similar. Maybe they can be merged in a future version. I assume the different prefManager steps are needed.
But if you look at the command flow it is basically the same but mixed up.
else if ("disablePlugin" in plugin.scope) ... else
versus
else if (!("disablePlugin" in e.plugin.scope)) .. else
I would at least change the if else flow in disableOldPlugin(plugin) to match the other for uniformity.
r/a+ with this changed.
Changes since last version:
- Tweak helper for disabling plugins;
- Make cmdDisablePlugin use tweaked helper
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/1c37b58a33ff
Uninstall Plugin command. r=frg
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Comment on attachment 9231784 [details] [diff] [review]
541719-irc-uninstall-plugin-v1_1-2539.patch
Grumpf. Moved it to my checkin dir but forgot to r/a+ again.
LGTM
Comment 9•3 years ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/6ff63a2888c2f31bb4c44a90d046356c3e73e288
Uninstall Plugin command. r=frg a=frg
Description
•