Commit 8dff77ac authored by dimich@chromium.org's avatar dimich@chromium.org
Browse files

2009-03-20 Dmitry Titov <dimich@chromium.org>

        Fix broken LayoutTest/http/tests/workers/text-encoding.html.
        Forgot to add a new file with the previous patch.

        * http/tests/workers/resources/subworker-encoded.php: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 60959798
2009-03-20 Dmitry Titov <dimich@chromium.org>
Fix broken LayoutTest/http/tests/workers/text-encoding.html.
Forgot to add a new file with the previous patch.
* http/tests/workers/resources/subworker-encoded.php: Added.
2009-03-20 Alpha Lam <hclam@chromium.org>
 
Reviewed by Darin Fisher.
......
<?php
header("Expires: Thu, 01 Dec 2003 16:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
print("postMessage('Sub: Original test string: ' + String.fromCharCode(0x41F, 0x440, 0x438, 0x432, 0x435, 0x442));");
print("postMessage('Sub: Test string encoded using koi8-r: \xF0\xD2\xC9\xD7\xC5\xD4.');");
print("postMessage('Sub: Test string encoded using Windows-1251: \xCF\xF0\xE8\xE2\xE5\xF2.');");
print("postMessage('Sub: Test string encoded using UTF-8: \xD0\x9F\xD1\x80\xD0\xB8\xD0\xB2\xD0\xB5\xD1\x82.');");
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment