Fail early, in modern `GENERIC` builds, if `globalThis` isn't available (PR 11799 follow-up, issue 12596)
Fail early, in modern `GENERIC` builds, if `globalThis` isn't available (PR 11799 follow-up, issue 12596)

It probably doesn't hurt to explicitly check for `globalThis` as well, in addition to the existing checks.

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