rvals_worker.js 333 B

1234567891011121314
  1. onmessage = function(evt) {
  2. postMessage(postMessage('ignore') == undefined);
  3. var id = setInterval(function() {}, 200);
  4. postMessage(clearInterval(id) == undefined);
  5. id = setTimeout(function() {}, 200);
  6. postMessage(clearTimeout(id) == undefined);
  7. postMessage(dump(42 + '\n') == undefined);
  8. postMessage('finished');
  9. }