pdf.js/extensions/firefox/content
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
..
PdfJs-stub.jsm [Firefox addon] Enforce double quotes, using ESLint, to avoid linting errors in mozilla-central (issue 7957) 2017-01-25 01:14:06 +01:00
PdfJs.jsm [Firefox addon] Upstream changes from: Bug 1356569 - Remove optional trailing parameters (issue 8310) 2017-04-18 20:51:17 +02:00
pdfjschildbootstrap-enabled.js Skip PdfJs.enabled check in bootstrap-enabled. 2017-03-31 13:22:39 -07:00
pdfjschildbootstrap.js Split bootstrap script. 2017-03-31 13:22:39 -07:00
PdfjsChromeUtils.jsm [Firefox addon] Upstream changes from: Bug 1356569 - Remove optional trailing parameters (issue 8310) 2017-04-18 20:51:17 +02:00
PdfjsContentUtils.jsm [Firefox addon] Upstream changes from: Bug 1356569 - Remove optional trailing parameters (issue 8310) 2017-04-18 20:51:17 +02:00
PdfJsNetwork.jsm [Firefox addon] Enforce double quotes, using ESLint, to avoid linting errors in mozilla-central (issue 7957) 2017-01-25 01:14:06 +01:00
PdfJsTelemetry-stub.jsm Rename PdfJsTelemetry-addon.jsm to PdfJsTelemetry-stub.jsm 2017-04-12 13:11:04 +02:00
PdfJsTelemetry.jsm [Firefox addon] Enforce double quotes, using ESLint, to avoid linting errors in mozilla-central (issue 7957) 2017-01-25 01:14:06 +01:00
PdfStreamConverter.jsm Lazily load NetUtil.jsm in PdfStreamConverter.jsm. 2017-04-03 10:33:57 -07:00