Home | History | Annotate | Download | only in resources
      1 <html>
      2 <body onload="javascript:
      3   // WinIE and Firefox use the same URL, but in WinIE, document.URL returns unescaped text
      4   if (document.URL.match('%25.*html') == '%2525%u0435%200%20%xx%25%%ulike.html' || 
      5       document.URL.match('%25.*html') == '%25%u0435 0 %xx%%%ulike.html')
      6      document.getElementById('result').firstChild.nodeValue = 'SUCCESS';
      7 
      8   layoutTestController.notifyDone();
      9 ">
     10 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=6452">bug 6452</a> - 
     11 KURL::appendEscapingBadChars() should never escape percent characters.</p>
     12 <p id=result>FAILURE</p>
     13 </body>
     14 </html>
     15