/[packages]/cauldron/firefox/current/SOURCES/firefox-vendor.patch
ViewVC logotype

Contents of /cauldron/firefox/current/SOURCES/firefox-vendor.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 2 months ago) by pterjan
File size: 1128 byte(s)
oops
1 --- mozilla/toolkit/mozapps/plugins/content/pluginInstallerDatasource.js.vendor 2008-05-28 20:49:33.000000000 +0200
2 +++ mozilla/toolkit/mozapps/plugins/content/pluginInstallerDatasource.js 2008-12-17 16:35:45.000000000 +0100
3 @@ -56,6 +56,8 @@
4 var prefBranch = Components.classes["@mozilla.org/preferences-service;1"]
5 .getService(Components.interfaces.nsIPrefBranch);
6 this.dsURI = prefBranch.getCharPref("pfs.datasource.url");
7 + this.vendorSub = prefBranch.getCharPref("general.useragent.vendorSub");
8 + this.vendorComment = prefBranch.getCharPref("general.useragent.vendorComment");
9 }
10
11 nsRDFItemUpdater.prototype = {
12 @@ -68,6 +70,8 @@
13 dsURI = dsURI.replace(/%APP_RELEASE%/g, this.appRelease);
14 dsURI = dsURI.replace(/%CLIENT_OS%/g, this.clientOS);
15 dsURI = dsURI.replace(/%CHROME_LOCALE%/g, this.chromeLocale);
16 + dsURI = dsURI.replace(/%VENDOR_SUB%/g, this.vendorSub);
17 + dsURI = dsURI.replace(/%VENDOR_COMMENT%/g, this.vendorComment);
18
19 var ds = this._rdfService.GetDataSource(dsURI);
20 var rds = ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource)

  ViewVC Help
Powered by ViewVC 1.1.30