blob: d2d85201f4efb013b3195a4ad9ccf60d780d247d [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var userAgent = "<?php echo $_SERVER['HTTP_USER_AGENT']; ?>";
if (userAgent.match(/WebKit/)) {
document.write("PASS: User-Agent header contains the string 'WebKit'.");
} else {
document.write("FAIL: User-Agent header does not contain the string 'WebKit', value is '" + userAgent + "'");
}
</script>
</body>
</html>