| <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 == "SUÑÑÅSS" ? "SUCCESS" : "FAILURE: " + window.frames[0].document.body.innerHTML) + ".\r"; |
| document.getElementById("result").innerHTML += "2. " + (window.frames[1].document.body.innerHTML == "SUÑÑÅSS" ? "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:'SUÑÑÅSS';"></iframe> |
| <iframe src="javascript:var hashVar=%22#%22; %22SUÑÑÅSS%22;"></iframe> |
| </body> |