Open Bug 1944835 Opened 20 days ago

Unused object in PdfjsParent.sys.mjs

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

People

(Reporter: arai, Unassigned)

Details

PdfjsParent.sys.mjs contains the following code, but the Svc variable is no longer used and it can be removed.

https://searchfox.org/mozilla-central/rev/dd8b64a6198ff599a5eb2ca096845ebd6997457f/toolkit/components/pdfjs/content/PdfjsParent.sys.mjs#39-45

var Svc = {};
XPCOMUtils.defineLazyServiceGetter(
  Svc,
  "mime",
  "@mozilla.org/mime;1",
  "nsIMIMEService"
);
You need to log in before you can comment on or make changes to this bug.