blob: 3db9935970755e0adb885ecf9de21a2d6340a4ff [file] [log] [blame]
<html>
<head>
<script>
function log(message)
{
document.getElementById('console').appendChild(document.createTextNode(message + "\n"));
}
function runTest()
{
log("Test DataView in worker.");
var worker = new Worker("resources/worker-data-view-test.js");
worker.onmessage = function(event) {
log(event.data);
if (window.testRunner)
testRunner.notifyDone();
};
worker.postMessage("start");
}
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
</script>
</head>
<body onload="runTest()">
<pre id='console'></pre>
</body>
</html>