-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the possibility to change some pdfjs preferences from the viewer (bug 1908483) #18449
Conversation
Would it not be more appropriate to restore (some of) the code removed in 1f9d1f3 instead? |
I didn't know the removed code existed and I forgot I reviewed this patch... With an allow-list, I've the feeling that my code is slightly better because the change in m-c is limited to pdf.js. EDIT: I'm mostly talking about my patch in m-c... I can updated this PR for using preferences stuff. |
@Snuffleupagus, I don't understand why we're writing all the prefs: Lines 117 to 118 in 15b71b8
I'd have expected to only write the changed ones, wdyt ? |
Yes, for the viewer-side of things I believe it'd make sense to mostly revert that commit; however I think we can probably keep the
In the GENERIC viewer the prefs are stored as a string in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, with https://github.com/mozilla/pdf.js/pull/18449/files#r1681726885 fixed; thank you.
No description provided.