pdf.js/extensions/chromium
Jonas Jenwald 7548dc5ea2 Only include the renderer-preference in builds where SVGGraphics is defined
After PR 13117 it's now (finally) possible for *different* build targets to specify individual options/preferences, and we can utilize that to only expose the `renderer`-preference in builds where `SVGGraphics` is actually defined.
Note that for e.g. `MOZCENTRAL`-builds, trying to enable SVG-rendering will throw immediately and the preference thus doesn't make sense to include there.

Also, update the dummy `SVGGraphics` to use a class, tweak the `PDFJSDev`-check in `src/display/svg.js` to agree fully with the option/preference, and remove an unnecessary `eslint-disable`.
2021-05-10 12:03:53 +02:00
..
options Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pageAction Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
.gitignore Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600 2013-08-21 18:11:35 +02:00
contentscript.js Replace non-inclusive "whitelist" term with "allowlist" 2020-06-29 17:15:14 +02:00
contentstyle.css Re-format all web/*.css files using Stylelint/Prettier 2020-08-30 21:49:08 +02:00
extension-router.js Replace non-inclusive "whitelist" term with "allowlist" 2020-06-29 17:15:14 +02:00
icon16.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon19.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon38.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon48.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon128.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
manifest.json [CRX] Recognize blob and data-URLs in the router 2017-02-04 01:20:17 +01:00
pdfHandler-vcros.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdfHandler.html [CRX] Remove feature-detect.js 2018-01-26 15:54:35 +01:00
pdfHandler.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
preferences_schema.json Only include the renderer-preference in builds where SVGGraphics is defined 2021-05-10 12:03:53 +02:00
preserve-referer.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
restoretab.html Restore extension tab after reload 2015-08-14 19:00:12 +02:00
restoretab.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
suppress-update.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
telemetry.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00