blob: 62ea4db00b84fde3cb4fcc56cd2c60733ae553d7 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description(
"<pre>Check return value of navigator.language."
);
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setPOSIXLocale("en_US.iso88591");
}
var language = navigator.language;
if (language == "en" || language == "en-us" || language == "en-US")
testPassed("");
else
testFailed("");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>