Bug 234628 part 1 - Make the BOM take precedence over manual encoding overrides. r=smaug.
Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky.
Bug 234628 part 4 - Test cases for character encoding override code. r=bzbarsky.

--HG--
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-1.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-10.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-11.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-2.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-3.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-4.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-5.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-6.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-7.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-8.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-9.js