tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

browser_bug234628-9.js (443B)


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