7548dc5ea2
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`. |
||
---|---|---|
.. | ||
options | ||
pageAction | ||
.eslintrc | ||
.gitignore | ||
contentscript.js | ||
contentstyle.css | ||
extension-router.js | ||
icon16.png | ||
icon19.png | ||
icon38.png | ||
icon48.png | ||
icon128.png | ||
manifest.json | ||
pdfHandler-vcros.js | ||
pdfHandler.html | ||
pdfHandler.js | ||
preferences_schema.json | ||
preserve-referer.js | ||
restoretab.html | ||
restoretab.js | ||
suppress-update.js | ||
telemetry.js |