summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-06-03 15:09:38 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-06-03 15:09:38 -0400
commit0e24b1125cded54570cc8869002384967ea71d68 (patch)
tree43d97e645f4f4ceba4bedd6a5e54490abe57ae0a /components
parentd19ef97048a2c9a713206c7fe2436fe3aab59b1e (diff)
downloadiceweasel-uxp-0e24b1125cded54570cc8869002384967ea71d68.tar.gz
remove pdfjs leftovers
Diffstat (limited to 'components')
-rw-r--r--components/preferences/in-content/applications.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/components/preferences/in-content/applications.js b/components/preferences/in-content/applications.js
index 6f29896..64f91b5 100644
--- a/components/preferences/in-content/applications.js
+++ b/components/preferences/in-content/applications.js
@@ -13,9 +13,6 @@ const TYPE_MAYBE_VIDEO_FEED = "application/vnd.mozilla.maybe.video.feed";
const TYPE_MAYBE_AUDIO_FEED = "application/vnd.mozilla.maybe.audio.feed";
const TYPE_PDF = "application/pdf";
-const PREF_PDFJS_DISABLED = "pdfjs.disabled";
-const TOPIC_PDFJS_HANDLER_CHANGED = "pdfjs:handlerChanged";
-
const PREF_DISABLED_PLUGIN_TYPES = "plugin.disable_full_page_plugin_for_types";
// Preferences that affect which entries to show in the list.
@@ -814,16 +811,6 @@ InternalHandlerInfoWrapper.prototype = {
}
};
-var pdfHandlerInfo = {
- __proto__: new InternalHandlerInfoWrapper(TYPE_PDF),
- _handlerChanged: TOPIC_PDFJS_HANDLER_CHANGED,
- _appPrefLabel: "portableDocumentFormat",
- get enabled() {
- return !Services.prefs.getBoolPref(PREF_PDFJS_DISABLED);
- },
-};
-
-
// Prefpane Controller
var gApplicationsPane = {
@@ -1040,7 +1027,6 @@ var gApplicationsPane = {
* applications menu.
*/
_loadInternalHandlers: function() {
- var internalHandlers = [pdfHandlerInfo];
for (let internalHandler of internalHandlers) {
if (internalHandler.enabled) {
this._handledTypes[internalHandler.type] = internalHandler;