~ubuntu-branches/ubuntu/feisty/firefox/feisty-updates

« back to all changes in this revision

Viewing changes to toolkit/mozapps/extensions/content/extensions.js

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2007-10-19 01:09:21 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20071019010921-8sglgxbi6kj1pemg
Tags: 2.0.0.8+1nobinonly-0ubuntu1
* New security/stability upstream release (v2.0.0.8)
* MFSA 2007-29 aka CVE-2007-5339 (browser), CVE-2007-5340 (javascript)
* MFSA 2007-30 aka CVE-2007-1095
* MFSA 2007-31 aka CVE-2007-2292
* MFSA 2007-32 aka CVE-2007-3511, CVE-2006-2894
* MFSA 2007-33 aka CVE-2007-5334
* MFSA 2007-34 aka CVE-2007-5337
* MFSA 2007-35 aka CVE-2007-5338
* MFSA 2007-36 aka CVE-2007-4841 (windows only)

Show diffs side-by-side

added added

removed removed

Lines of Context:
605
605
    catch (e) {
606
606
      if (window.arguments[0] == "updates-only") {
607
607
        gUpdatesOnly = true;
 
608
#ifdef MOZ_PHOENIX
 
609
        // If we are a browser when updating on startup don't display context
 
610
        // menuitems that can open a browser window.
 
611
        gUpdateContextMenus = gUpdateContextMenusNoBrowser;
 
612
#endif
608
613
        document.getElementById("viewGroup").hidden = true;
609
614
        document.getElementById("extensionsView").setAttribute("norestart", "");
610
615
        showView("updates");
1022
1027
                          "menuitem_cancelUninstall", "menuitem_checkUpdate",
1023
1028
                          "menuitem_enable", "menuitem_disable"];
1024
1029
var gUpdateContextMenus = ["menuitem_homepage", "menuitem_about", "menuseparator_1",
1025
 
                           "menuitem_installUpdate", "menuitem_includeUpdate"]
1026
 
var gInstallContextMenus = ["menuitem_homepage", "menuitem_about"]
 
1030
                           "menuitem_installUpdate", "menuitem_includeUpdate"];
 
1031
// For browsers don't display context menuitems that can open a browser window.
 
1032
var gUpdateContextMenusNoBrowser = ["menuitem_installUpdate", "menuitem_includeUpdate"];
 
1033
var gInstallContextMenus = ["menuitem_homepage", "menuitem_about"];
1027
1034
 
1028
1035
function buildContextMenu(aEvent)
1029
1036
{