(In reply to Brian King (Briks) [:kinger] from comment #11)
> David, could you post the code you tried. Maybe there is a minor error or
> oversight.
In essence the code is the following:
ACR.Util.getInstalledExtensions(function(installedExtensions) {
for (var i=0; i<installedExtensions.length; i++) {
if (installedExtensions[i].type == "locale") {
//installedExtensions[i].userDisabled = true;
installedExtensions[i].uninstall();
}
}
});
In the above, 'uninstall()' works as expected while 'userDisabled =
true' has no effect.
Note, ACR restarts the application as soon as it finishes
uninstalling/disabling extensions. This may be why the disable does not
complete.
A possible solution is to set up extension disable listeners and only to
restart the app once all those listeners have been notified.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/677815
Title:
Firefox crashes with XML Parsing Error
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/677815/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs