← Back to team overview

desktop-packages team mailing list archive

[Bug 677815]

 

(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 Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/677815

Title:
  Firefox crashes with XML Parsing Error

Status in The Mozilla Firefox Browser:
  Confirmed
Status in “firefox” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: firefox

  The newest version of Firefox installed from the Natty repositories
  crashes on startup with the following message:

  XML Parsing Error: undefined entity
  Location: chrome://browser/content/browser.xul
  Line Number 232, Column 5:    <key id="key_openAddons" key="&addons.commandkey;" command="Tools:Addons" modifiers="accel,shift"/>
  ----^

  Firefox 4b7 downloaded straight from Mozilla is running fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: firefox 4.0~b7+nobinonly-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.37-2.10-generic 2.6.37-rc1
  Uname: Linux 2.6.37-2-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  Date: Sat Nov 20 12:30:08 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_GB.utf8
   SHELL=/bin/bash
  SourcePackage: firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/677815/+subscriptions