Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / javascript-url-encoding.html
blob34aacc7983e3d9308e968a19d6762085edb9546e
1 <meta charset="windows-1251">
2 <body onload="test()">
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function test() {
8 document.getElementById("result").innerHTML = "1. " + (window.frames[0].document.body.innerHTML == "SUÑÑÅSS" ? "SUCCESS" : "FAILURE: " + window.frames[0].document.body.innerHTML) + ".\r";
9 document.getElementById("result").innerHTML += "2. " + (window.frames[1].document.body.innerHTML == "SUÑÑÅSS" ? "SUCCESS" : "FAILURE: " + window.frames[1].document.body.innerHTML) + ".\r";
11 </script>
12 <p>Test that non-ASCII javascript: URLs are handled correctly.</p>
13 <pre id=result></pre>
14 <iframe src="javascript:'SUÑÑÅSS';"></iframe>
15 <iframe src="javascript:var hashVar=%22#%22; %22SUÑÑÅSS%22;"></iframe>
16 </body>