diff options
Diffstat (limited to 'LayoutTests/fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html')
-rw-r--r-- | LayoutTests/fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html b/LayoutTests/fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html new file mode 100644 index 0000000..ae0d86f --- /dev/null +++ b/LayoutTests/fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html @@ -0,0 +1,14 @@ +<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> |