<meta charset="windows-1251">
<body onload="test()">
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function test() {
    document.getElementById("result").innerHTML = "1. " + (window.frames[0].document.body.innerHTML == "SUSS" ? "SUCCESS" : "FAILURE: " + window.frames[0].document.body.innerHTML) + ".\r";
    document.getElementById("result").innerHTML += "2. " + (window.frames[1].document.body.innerHTML == "SUSS" ? "SUCCESS" : "FAILURE: " + window.frames[1].document.body.innerHTML) + ".\r";
}
</script>
<p>Test that non-ASCII javascript: URLs are handled correctly.</p>
<pre id=result></pre>
<iframe src="javascript:'SUSS';"></iframe>
<iframe src="javascript:var hashVar=%22#%22; %22SUSS%22;"></iframe>
</body>
