diff options
Diffstat (limited to 'components/blocklist/nsBlocklistService.js')
-rw-r--r-- | components/blocklist/nsBlocklistService.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/blocklist/nsBlocklistService.js b/components/blocklist/nsBlocklistService.js index 188fdfb38..724422494 100644 --- a/components/blocklist/nsBlocklistService.js +++ b/components/blocklist/nsBlocklistService.js @@ -387,7 +387,7 @@ Blocklist.prototype = { if (!appVersion) appVersion = gApp.version; if (!toolkitVersion) - toolkitVersion = gApp.platformVersion; + toolkitVersion = gApp.runtimeVersion; var blItem = this._findMatchingAddonEntry(addonEntries, addon); if (!blItem) @@ -529,7 +529,7 @@ Blocklist.prototype = { dsURI = dsURI.replace(/%OS_VERSION%/g, gOSVersion); dsURI = dsURI.replace(/%LOCALE%/g, getLocale()); dsURI = dsURI.replace(/%CHANNEL%/g, "@MOZ_UPDATE_CHANNEL@"); - dsURI = dsURI.replace(/%PLATFORM_VERSION%/g, gApp.platformVersion); + dsURI = dsURI.replace(/%PLATFORM_VERSION%/g, gApp.runtimeVersion); dsURI = dsURI.replace(/%DISTRIBUTION%/g, getDistributionPrefValue(PREF_APP_DISTRIBUTION)); dsURI = dsURI.replace(/%DISTRIBUTION_VERSION%/g, @@ -1137,7 +1137,7 @@ Blocklist.prototype = { if (!appVersion) appVersion = gApp.version; if (!toolkitVersion) - toolkitVersion = gApp.platformVersion; + toolkitVersion = gApp.runtimeVersion; for (var blockEntry of pluginEntries) { var matchFailed = false; |