| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 if (window.testRunner) { | 2 if (window.testRunner) { |
| 3 testRunner.dumpAsText(); | 3 testRunner.dumpAsText(); |
| 4 testRunner.dumpChildFramesAsText(); | 4 testRunner.dumpChildFramesAsText(); |
| 5 } | 5 } |
| 6 if (!window.internals) | 6 if (!window.internals) |
| 7 alert("This test requires window.internals"); | 7 alert("This test requires window.internals"); |
| 8 window.internals.settings.setUsesEncodingDetector(true); | |
| 9 </script> | 8 </script> |
| 10 This iframe should use UTF-8 because of its meta tag even in spite of this test | 9 This iframe should use UTF-8 because of its meta tag even in spite of this test |
| 11 enabling the encoding detector:<br> | 10 enabling the encoding detector:<br> |
| 12 <iframe src="resources/meta-input-encoding.html"></iframe> | 11 <iframe src="resources/meta-input-encoding.html"></iframe> |
| OLD | NEW |