Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / encoding / meta-switch-mid-parse.html
blob9ce86fcc5cf55622842684695f85ad21a7d29290
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4 </script>
5 This test demonstrates that we don't buffer HTML documents looking for a meta
6 charset directive. Instead, we follow the HTML5 specification and switch
7 encoding mid-parse. The iframe below should alert two different encodings.
8 <iframe src="resources/pause-then-switch-encoding.cgi"></iframe>