Re-factor the `scripting` getter in GENERIC-builds, since using the same sandbox for *multiple* PDF documents seems highly questionable
Re-factor the `scripting` getter in GENERIC-builds, since using the same sandbox for *multiple* PDF documents seems highly questionable

Similar to the previous patch, the GENERIC default viewer is capable of opening more than *one* PDF document and we should ensure that we handle that case correctly.

nawawi/pdf.js,macroplant/pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,macroplant/pdf.js,mozilla/pdf.js,Snuffleupagus/pdf.js,nawawi/pdf.js,mozilla/pdf.js,xavier114fch/pdf.js,Snuffleupagus/pdf.js,caremerge/pdf.js,macroplant/pdf.js,timvandermeij/pdf.js,mozilla/pdf.js,timvandermeij/pdf.js,timvandermeij/pdf.js,Shoobx/pdf.js,xavier114fch/pdf.js,caremerge/pdf.js,showpad/mozilla-pdf.js,showpad/mozilla-pdf.js,showpad/mozilla-pdf.js,Shoobx/pdf.js,nawawi/pdf.js