blob: ac446985f3da2b5d75b44581091b7a98a88d1ecc [file] [log] [blame]
<body>
<p>Test worker thread stack usage. Should not crash.</p>
<div id=result></div>
<script>
function log(message)
{
document.getElementById("result").innerHTML += message + "<br>";
}
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
var worker = new Worker('resources/use-machine-stack.js');
worker.onmessage = function(evt) {
log("PASS (" + evt.data + ")");
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</body>
</html>