Merge pull request #5511 from gijsk/patch-1
Bug 639134 - update check for document colors
This commit is contained in:
commit
8389f1d792
@ -381,7 +381,11 @@ ChromeActions.prototype = {
|
|||||||
return (!!prefBrowser && prefGfx);
|
return (!!prefBrowser && prefGfx);
|
||||||
},
|
},
|
||||||
supportsDocumentColors: function() {
|
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) {
|
reportTelemetry: function (data) {
|
||||||
var probeInfo = JSON.parse(data);
|
var probeInfo = JSON.parse(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user