2 <p>Test worker thread stack usage. Should not crash.</p>
7 document.getElementById("result").innerHTML += message + "<br>";
10 if (window.layoutTestController) {
11 layoutTestController.dumpAsText();
12 layoutTestController.waitUntilDone();
15 var worker = new Worker('resources/use-machine-stack.js');
16 worker.onmessage = function(evt) {
17 log("PASS (" + evt.data + ")");
18 if (window.layoutTestController)
19 layoutTestController.notifyDone();