-
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed wrong firefox version when using extensions API (closes #1366)
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/toolkit/components/extensions/parent/ext-runtime-js.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/toolkit/components/extensions/parent/ext-runtime.js b/toolkit/components/extensions/parent/ext-runtime.js | ||
index ff7aae6e5f1919d8d4ff1c7e85b6150332adc20f..5d935e3d0dfb91cd01268d4e2c4dee4696c33efe 100644 | ||
--- a/toolkit/components/extensions/parent/ext-runtime.js | ||
+++ b/toolkit/components/extensions/parent/ext-runtime.js | ||
@@ -331,7 +331,7 @@ this.runtime = class extends ExtensionAPIPersistent { | ||
|
||
getBrowserInfo: function () { | ||
const { name, vendor, version, appBuildID } = Services.appinfo; | ||
- const info = { name, vendor, version, buildID: appBuildID }; | ||
+ const info = { name, vendor, version: AppConstants.ZEN_FIREFOX_VERSION, buildID: appBuildID }; | ||
return Promise.resolve(info); | ||
}, | ||
|