| 'Content-Language: fr \t , fi \r\n' |
| 'Content-Type: text/html\r\n\r\n' |
| '<html xmlns="http://www.w3.org/1999/xhtml">\n' |
| '<script src="../../js-test-resources/js-test-pre.js"></script>\n' |
| '<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=97929">bug 97929</a>:\n' |
| 'Extract HTTP Content-Language header.</p>\n' |
| '<div id="console"></div>\n' |
| '<div id="y" lang="ar"></div>\n' |
| ' debug(\'==> Value extracted singly from HTTP "Content-Language" header...\');\n' |
| ' shouldBe(\'window.getComputedStyle(document.getElementById("x")).webkitLocale\', \'"fr"\')\n' |
| ' debug(\'==> Value set by div "lang" tag...\');\n' |
| ' shouldBe(\'window.getComputedStyle(document.getElementById("y")).webkitLocale\', \'"ar"\')\n' |
| ' debug(\'==> All done...\');\n' |
| '<script src="../../js-test-resources/js-test-post.js"></script>\n' |