browser_bug234628-8.js (449B)
1 function test() { 2 var rootDir = "http://mochi.test:8888/browser/docshell/test/browser/"; 3 runCharsetCheck(rootDir + "file_bug234628-8.html", afterOpen); 4 } 5 6 function afterOpen() { 7 is( 8 content.document.documentElement.textContent.indexOf("\u0402"), 9 156, 10 "Parent doc should be windows-1251" 11 ); 12 13 is( 14 content.frames[0].document.documentElement.textContent.indexOf("\u0402"), 15 99, 16 "Child doc should be windows-1251" 17 ); 18 }