blob: ae0d86f10046af948620b8c9732c51f67768ec18 [file] [log] [blame]
<html>
<body onload="javascript:
// WinIE and Firefox use the same URL, but in WinIE, document.URL returns unescaped text
if (document.URL.match('%25.*html') == '%2525%u0435%200%20%xx%25%%ulike.html' ||
document.URL.match('%25.*html') == '%25%u0435 0 %xx%%%ulike.html')
document.getElementById('result').firstChild.nodeValue = 'SUCCESS';
layoutTestController.notifyDone();
">
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=6452">bug 6452</a> -
KURL::appendEscapingBadChars() should never escape percent characters.</p>
<p id=result>FAILURE</p>
</body>
</html>