Add the possibility to change some pdfjs preferences from the viewer (bug 1908483)

This commit is contained in:
Calixte Denizet 2024-07-17 19:51:53 +02:00
parent 86eb5ba700
commit 6cc32b699f
2 changed files with 9 additions and 5 deletions

View file

@ -150,6 +150,10 @@ class Preferences extends BasePreferences {
async _readFromStorage(prefObj) {
return FirefoxCom.requestAsync("getPreferences", prefObj);
}
async _writeToStorage(prefObj) {
return FirefoxCom.requestAsync("setPreferences", prefObj);
}
}
(function listenFindEvents() {