Open Bug 1419575 Opened 8 years ago Updated 4 years ago

Make nsIDocShell.forcedCharset setter UTF-8-only

Categories

(Core :: DOM: Navigation, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: emk, Unassigned)

Details

To prevent it from being abused (see bug 1418365). No new mime types should support non-UTF-8 encodings, so it will never be required in the future.
Since there are some c-c usages,[1] I'll make this setter UTF-8-only instead of making it unavailable from JS completely. [1] https://dxr.mozilla.org/comm-central/search?q=forcedCharset
Summary: Make nsIDocShell.forcedCharset [noscript] → Make nsIDocShell.forcedCharset setter UTF-8-only
Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.