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) |