Merge pull request #18398 from calixteman/bug1905923

[Editor] Change the enableML pref for enableAltText (bug 1905923)
This commit is contained in:
calixteman 2024-07-05 22:51:15 +02:00 committed by GitHub
commit db9115625b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 29 additions and 10 deletions

View file

@ -141,6 +141,11 @@ const defaultOptions = {
value: false,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableAltText: {
/** @type {boolean} */
value: false,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableHighlightEditor: {
// We'll probably want to make some experiments before enabling this
// in Firefox release, but it has to be temporary.
@ -157,11 +162,6 @@ const defaultOptions = {
value: typeof PDFJSDev === "undefined" || PDFJSDev.test("TESTING"),
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableML: {
/** @type {boolean} */
value: false,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enablePermissions: {
/** @type {boolean} */
value: false,