Bug 1827963 - Enable the download button in pdf.js only on nightly in GeckoView r=geckoview-reviewers,amejiamarmol

Differential Revision: https://phabricator.services.mozilla.com/D175389
This commit is contained in:
Calixte 2023-04-14 14:46:01 +00:00
parent 72441955b1
commit 0b03a89b68
2 changed files with 4 additions and 0 deletions

View file

@ -95,3 +95,6 @@ pref("extensions.formautofill.loglevel", "Warn");
pref("pdfjs.handleOctetStream", true);
pref("browser.download.open_pdf_attachments_inline", true);
pref("pdfjs.annotationEditorMode", -1);
#ifdef NIGHTLY_BUILD
pref("pdfjs.enableFloatingToolbar", true);
#endif

View file

@ -18,6 +18,7 @@
await SpecialPowers.pushPrefEnv({
"set": [
["pdfjs.disabled", false],
["pdfjs.enableFloatingToolbar", false],
],
});