Merge pull request #5511 from gijsk/patch-1

Bug 639134 - update check for document colors
This commit is contained in:
Jonas Jenwald 2015-01-22 20:43:50 +01:00
commit 8389f1d792

View File

@ -381,7 +381,11 @@ ChromeActions.prototype = {
return (!!prefBrowser && prefGfx);
},
supportsDocumentColors: function() {
return getBoolPref('browser.display.use_document_colors', true);
if (getIntPref('browser.display.document_color_use', 0) == 2 ||
!getBoolPref('browser.display.use_document_colors', true)) {
return false;
}
return true;
},
reportTelemetry: function (data) {
var probeInfo = JSON.parse(data);