/* The test text as octets for reference * %83%86%83%6a%83%52%81%5b%83%68%82%cd%81%41%82%b7%82%d7%82%c4%82%cc%95%b6%8e%9a%82%c9%8c%c5%97%4c%82%cc%94%d4%8d%86%82%f0%95%74%97%5e%82%b5%82%dc%82%b7 */ function testContent(text) { return SpecialPowers.spawn(gBrowser.selectedBrowser, [text], text => { Assert.equal( content.document.getElementById("testpar").innerHTML, text, "
contains expected text" ); Assert.equal( content.document.getElementById("testtextarea").innerHTML, text, "