no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / docshell / test / browser / browser_bug1688368-1.js
blob04fc3dd9a8f8b102e8015447c6b92f426e49787b
1 function test() {
2   var rootDir = "http://mochi.test:8888/browser/docshell/test/browser/";
3   runCharsetTest(
4     rootDir + "file_bug1688368-1.sjs",
5     afterOpen,
6     afterChangeCharset
7   );
10 function afterOpen() {
11   is(
12     content.document.body.textContent.indexOf("â"),
13     0,
14     "Doc should be windows-1252 initially"
15   );
18 function afterChangeCharset() {
19   is(
20     content.document.body.textContent.indexOf("☃"),
21     0,
22     "Doc should be UTF-8 subsequently"
23   );