<!DOCTYPE html>
<html>
<head>
<title> WorkerNavigator.platform </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<script>
var FileName = "./support/WorkerNavigator.js";
var description = "WorkerNavigator.platform returns the name of the platform: " + window.navigator.platform;
var t = async_test("Test Description: " + description);
var worker = new Worker(FileName);
worker.onmessage = t.step_func(function(evt)
{
assert_equals(evt.data.platform, window.navigator.platform);
t.done();
});
</script>
</body>
</html>