in FF116 1838415 in Don't spoof explicitly disabled pdfJS RFP no longer ignores the pref pdfjs.disabled. The original RFP protection was done to help against disk leaks and to provide a uniform fingerprint [1]
Given these two aspects, we should just lock the pref in stable release
[1] There are only two possible values for combined plugins, mimeTypes and pdfViewerEnabled
I think... we were removing Unknown and we needed to decide what to do with this situation. I believe I had recently written a proposal for how I felt RFP should behave, which included overriding User Settings available on the preferences page but not trying to override user preferences in about:config because there are so many of them that we would either always be in a partial-execution where we override some but not others with no clear explanation why or we would have to spend a ton of continuous work to be comprehensive and consistent. And given that thinking, we removed it.
I'd also note that overriding user preferences would blow us way past our 64 bits of RFPTarget and we'd need to refactor that architecturally to be expandable and performant.
I see, thanks.
It probably makes sense for us to follow Thorin's suggestion and lock it in this case.
We should also open an issue about reviewing that change, in case there are similar changes we missed.
I'd also note that overriding user preferences would blow us way past our 64 bits of RFPTarget and we'd need to refactor that architecturally to be expandable and performant.
I think that problem is going to arrive sooner rather than later .
morganchanged title from lock pdfjs.disabled to false in stable to pdfjs.disabled used to be part of RFP until Bug 1838415; lock pref to false in stable
changed title from lock pdfjs.disabled to false in stable to pdfjs.disabled used to be part of RFP until Bug 1838415; lock pref to false in stable