Skip to content

Commit

Permalink
Disable some Firefox-specific tests for the SeaMonkey extension
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacSchemm committed May 16, 2018
1 parent 1b3e40d commit acd8d5d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions extensions/seamonkey/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,10 @@
"constructor-super": "error",
"no-confusing-arrow": "error",
"no-useless-constructor": "error",

// Rules disabled for SeaMonkey extension
"mozilla/no-define-cc-etc": "off",
"mozilla/use-cc-etc": "off",
"mozilla/use-chromeutils-import": "off",
},
}
1 change: 0 additions & 1 deletion extensions/seamonkey/chrome/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
(function contentScriptClosure() {
// we need to use closure here -- we are running in the global context

const Cc = Components.classes;
const Ci = Components.interfaces;
const Cm = Components.manager;
const Cu = Components.utils;
Expand Down
1 change: 0 additions & 1 deletion extensions/seamonkey/content/PdfJs.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ var EXPORTED_SYMBOLS = ["PdfJs"];

const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
const Cm = Components.manager;
const Cu = Components.utils;

Expand Down
5 changes: 0 additions & 5 deletions extensions/seamonkey/content/PdfJsNetwork.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ Components.utils.import("resource://gre/modules/Services.jsm");

var EXPORTED_SYMBOLS = ["NetworkManager"];

function log(aMsg) {
var msg = "PdfJsNetwork.jsm: " + (aMsg.join ? aMsg.join("") : aMsg);
Services.console.logStringMessage(msg);
}

var NetworkManager = (function NetworkManagerClosure() {

const OK_RESPONSE = 200;
Expand Down
1 change: 0 additions & 1 deletion extensions/seamonkey/content/PdfStreamConverter.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const Cr = Components.results;
const Cu = Components.utils;

const PDFJS_EVENT_ID = "pdf.js.message";
const PDF_CONTENT_TYPE = "application/pdf";
const PREF_PREFIX = "PDFJSSCRIPT_PREF_PREFIX";
const PDF_VIEWER_WEB_PAGE = "resource://pdf.js/web/viewer.html";
const MAX_NUMBER_OF_PREFS = 50;
Expand Down
1 change: 0 additions & 1 deletion extensions/seamonkey/content/PdfjsChromeUtils.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ var EXPORTED_SYMBOLS = ["PdfjsChromeUtils"];

const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;

const PREF_PREFIX = "PDFJSSCRIPT_PREF_PREFIX";
Expand Down
1 change: 0 additions & 1 deletion extensions/seamonkey/content/PdfjsContentUtils.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ var EXPORTED_SYMBOLS = ["PdfjsContentUtils"];

const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;

Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Expand Down

0 comments on commit acd8d5d

Please sign in to comment.