mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
c4d9d86152
--HG-- rename : dom/workers/test/bug911085_worker.js => dom/workers/test/rvals_worker.js rename : dom/workers/test/test_bug911085.html => dom/workers/test/test_rvals.html
14 lines
326 B
JavaScript
14 lines
326 B
JavaScript
onmessage = function(evt) {
|
|
postMessage(postMessage('ignore') == undefined);
|
|
|
|
var id = setInterval(function() {}, 200);
|
|
postMessage(clearInterval(id) == undefined);
|
|
|
|
id = setTimeout(function() {}, 200);
|
|
postMessage(clearTimeout(id) == undefined);
|
|
|
|
postMessage(dump(42) == undefined);
|
|
|
|
postMessage('finished');
|
|
}
|