diff options
Diffstat (limited to 'dom')
-rw-r--r-- | dom/encoding/FallbackEncoding.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/encoding/FallbackEncoding.cpp b/dom/encoding/FallbackEncoding.cpp index 93fe0f8cb..29411412e 100644 --- a/dom/encoding/FallbackEncoding.cpp +++ b/dom/encoding/FallbackEncoding.cpp @@ -55,8 +55,7 @@ FallbackEncoding::Get(nsACString& aFallback) // Don't let the user break things by setting the override to unreasonable // values via about:config if (!EncodingUtils::FindEncodingForLabel(override, mFallback) || - !EncodingUtils::IsAsciiCompatible(mFallback) || - mFallback.EqualsLiteral("UTF-8")) { + !EncodingUtils::IsAsciiCompatible(mFallback)) { mFallback.Truncate(); } |