4 testRunner
.dumpAsText();
8 <div>This text should NOT be visible, because JavaScript should replace it.
</div>
10 This text should NOT be visible if JavaScript is enabled.
12 document
.getElementsByTagName("div")[0].innerText
= "This text was set by a script inside a canvas element. "
13 + "Such scripts run even though the content is not displayed."