blob: 83b00725bccb6311716a3b509b361bd04bca68f3 [file] [log] [blame]
<!doctype html>
<title>self.name</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
(async_test()).step(function() {
var worker = new SharedWorker('name.js', 'hello');
worker.port.addEventListener('message', this.step_func(function(e) {
assert_equals(e.data, 'hello');
this.done();
}), false);
worker.port.start();
});
</script>