Bug 1919071 - Remove the unused pdfjs.enableFloatingToolbar preference. r=pdfjs-reviewers,calixte

This preference was removed upstream in https://github.com/mozilla/pdf.js/pull/16605, which was uplifted in https://bugzilla.mozilla.org/show_bug.cgi?id=1840990, hence the override should also be removed now.

Differential Revision: https://phabricator.services.mozilla.com/D222306
This commit is contained in:
Jonas Jenwald 2024-09-16 17:53:39 +00:00
parent 30b9476061
commit 148580e2a2
2 changed files with 1 additions and 7 deletions

View File

@ -18,9 +18,6 @@
// Editing PDFs is not supported on mobile
pref("pdfjs.annotationEditorMode", -1);
// Enable the floating PDF.js toolbar on GeckoView (bug 1829366)
pref("pdfjs.enableFloatingToolbar", true);
#else
#if defined(EARLY_BETA_OR_EARLIER)

View File

@ -16,10 +16,7 @@
async function test() {
await SpecialPowers.pushPrefEnv({
"set": [
["pdfjs.disabled", false],
["pdfjs.enableFloatingToolbar", false],
],
"set": [["pdfjs.disabled", false]],
});
const iframe = document.createElement("iframe");