mozilla/pdf.js — pull request #5511 by gijsk (2014-11-26 23:25:24+00:00)
Title: Bug 639134 - update check for document colors

This checks for both prefs on the understanding that we need to work on older versions of Firefox. If that isn't the case, the first part of the if isn't necessary. This should only land if bug 639134 is resolved - I'd make the patch part of that bug, but AIUI pdfjs's canonical repo is on github, so...