blob: 9ce86fcc5cf55622842684695f85ad21a7d29290 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
This test demonstrates that we don't buffer HTML documents looking for a meta
charset directive. Instead, we follow the HTML5 specification and switch
encoding mid-parse. The iframe below should alert two different encodings.
<iframe src="resources/pause-then-switch-encoding.cgi"></iframe>