pdf.js/extensions/firefox
Jonas Jenwald cf87c9bba2 [Firefox addon] Upstream changes from: Bug 1356569 - Remove optional trailing parameters (issue 8310)
In https://bugzilla.mozilla.org/show_bug.cgi?id=1355216, the *third* parameter of `Services.obs.addObserver` was made optional.
However, omitting it in Firefox versions *without* that patch causes failures that completely prevents the addon from working (it won't even load).

As far as I can tell, there isn't *any* way to detect ahead of time if the third parameter can be safely omitted, hence we're forced to fallback to manually checking the version number :-(

*Note:* Since the `PdfJs.jsm` file is only used in the `MOZCENTRAL` build, we at least don't need to add any compatibility hacks there.
2017-04-18 20:51:17 +02:00
..
chrome [Firefox addon] Enforce double quotes, using ESLint, to avoid linting errors in mozilla-central (issue 7957) 2017-01-25 01:14:06 +01:00
content [Firefox addon] Upstream changes from: Bug 1356569 - Remove optional trailing parameters (issue 8310) 2017-04-18 20:51:17 +02:00
tools [Firefox addon] Enforce double quotes, using ESLint, to avoid linting errors in mozilla-central (issue 7957) 2017-01-25 01:14:06 +01:00
.eslintrc Enable babel translation to enable ES module support. 2017-03-27 07:25:09 -05:00
.gitignore Add global pref to enable/disable. Control pdf.js in application preferences. Add Artur's mochi tests. 2012-05-31 11:16:06 -07:00
bootstrap.js Firefox extension: remove unused preference cleanup from bootstrap.js 2017-04-14 23:49:01 +02:00
chrome-mozcentral.manifest Use only one resource url for moz central build. 2014-02-27 14:11:39 -08:00
chrome.manifest Loading PDF.js extension into e10s windows 2014-09-17 16:14:04 -05:00
icon64.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
install.rdf [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code 2017-01-07 12:19:42 +01:00
README.mozilla Republish addon 2016-02-11 15:36:32 -06:00
update.rdf [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code 2017-01-07 12:19:42 +01:00

This is the pdf.js project output, https://github.com/mozilla/pdf.js

Current extension version is: PDFJSSCRIPT_VERSION