diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2015-05-11 20:32:23 +0200 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2015-05-11 20:32:23 +0200 |
commit | 43945a78dfdb744db93f689fea0197d0fc8f3d35 (patch) | |
tree | a1d145d594d14ce5c90739c34140b38b52c61e48 /doc/manual | |
parent | 9b79c2a61be72965c001c8d9779a7b3188628613 (diff) | |
download | librejsxul-43945a78dfdb744db93f689fea0197d0fc8f3d35.tar.lz librejsxul-43945a78dfdb744db93f689fea0197d0fc8f3d35.tar.xz librejsxul-43945a78dfdb744db93f689fea0197d0fc8f3d35.zip |
onDetermineCharset() should only return valid charsets
Match the charset retrieved from the document against a list of known
valid charset names, to avoid failing on malformed documents.
The list was retrieved from ./dom/encoding/labelsencodings.properties
in the IceCat 31.6.0 sourcecode.
Diffstat (limited to 'doc/manual')
0 files changed, 0 insertions, 0 deletions