Bug 951252 - Remove warning on undefined role when checking hidden status

There is too much output because in the default case, role is undefined.
As per bug 951252, let's disable the output.
Merge pull request #14795 from lissyx/bug951252

Bug 951252 - Remove warning on undefined role when checking hidden status r=vingtetun