Bug 942802 - Make nsDocShell::SetForcedCharset check its argument. r=smaug.