blob: 8ec6faa77688ff478202d6b7582af2d3dd0fc3d4 [file] [log] [blame]
<meta charset="utf-8">
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.overridePreference("WebKitDefaultTextEncodingName", "koi8-r");
testRunner.setCustomPolicyDelegate(true, true);
testRunner.waitForPolicyDelegate();
}
</script>
<p>Downloaded file name should be "SUССЕSS.txt" (letters "CCE" are Cyrillic).</p>
<a href="resources/literal-koi8-r.php" id=link>Click Me</a>
<script>
if (window.eventSender) {
var link = document.getElementById("link");
eventSender.mouseMoveTo(link.offsetLeft + 2,
link.offsetTop + 2);
eventSender.mouseDown();
eventSender.mouseUp();
}
</script>