~ubuntu-branches/ubuntu/utopic/ubufox/utopic-security

« back to all changes in this revision

Viewing changes to content/pluginInstallerDatasource.js

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-04-09 00:08:51 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20110409000851-5wd2d1p8cws3y3u8
Tags: 0.9-0ubuntu1
* New upstream release v0.9
* All patches are merged in to the upstream branch now

* Fix LP: #750305 - Please update links and configs for Natty release.
  Rather than doing this manually for every release, we add a dist.js with
  distro information (populated at build time with lsb_release) and just
  do all this automatically.
* Fix LP: #752364 - Plugin Finder Service never finds anything. Use the
  release info in dist.js to construct the URL, now that this got dropped
  from Firefox
* Fix LP: #728826 - Update icons to new versions.
* Drop the pluginGlue.js module. This didn't work, as we can no longer
  use a modules registerSelf method to use nsICategoryManager at startup,
  due to the XPCOM registration changes in Firefox 4. Instead, add
  category entries with the chrome.manifest
* Fix LP: #709125 - User agent doesn't include Ubuntu in it so
  apt.ubuntu.com doesn't work. We add an extra X-Ubuntu HTTP header in
  requests to apt.ubuntu.com, rather than send this information out in
  every request in the UA string

* Add build-depend on lsb-release so we can create dist.js

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  var prefBranch = Components.classes["@mozilla.org/preferences-service;1"]
58
58
                             .getService(Components.interfaces.nsIPrefBranch);
59
59
  this.dsURI = prefBranch.getCharPref("pfs.datasource.url");
60
 
  this.distID = prefBranch.getCharPref("general.useragent.vendorSub");
 
60
  this.distID = prefBranch.getCharPref("extensions.ubufox@ubuntu.com.release");
61
61
}
62
62
 
63
63
nsRDFItemUpdater.prototype = {