Fixes bug 863591

This should resolve the ambiguity of the error message when document colors are disabled in Firefox. The error message is now somewhat verbose, but should be a lot clearer.