Same as in: https://github.com/mozilla/pdf.js/pull/4647/files#r11824252.