Fix PDF support detection for Firefox PDF.js (#1488972)