<body>
<p>Test importScripts.</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/worker-importScripts.js');

worker.onmessage = function(evt) {
    log(evt.data);
    if (evt.data == "DONE" && window.testRunner)
        testRunner.notifyDone();
}
</script>
</body>
</html>
