blob: 94ab71aeff625d9fa596cdcb6ce895530133f246 [file] [log] [blame]
<!--
postMessage('FAIL');
/*
-->
<!doctype html>
<title>null as argument</title>
<link rel=help href="http://www.whatwg.org/html/#dom-worker">
<link rel=help href="http://dev.w3.org/2006/webapi/WebIDL/#es-DOMString">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var t = async_test();
t.step(function() {
var worker = new Worker(null);
worker.addEventListener('message', t.step_func_done(function(e) {
assert_equals(e.data, 'null')
}), false);
});
</script>
<!--
*/
//-->