second-argument-null-in-array.html (420B)
1 <!doctype html> 2 <title>Using [null] in postMessage's second argument</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <div id="log"></div> 6 <script> 7 (async_test()).step(function() { 8 var worker = new Worker('second-argument-null-in-array.js'); 9 worker.onmessage = this.step_func(function(e) { 10 assert_true(e.data); 11 this.done(); 12 }); 13 }); 14 </script>