<!DOCTYPE html>
<html>
<head>
<script>
window.onload = function() {
    var worker = new Worker('worker-for-indexeddb.js');
    worker.postMessage(true);
    worker.onmessage = function(event) {
        for (var i = 0; i < event.data.result.length; i++)
            document.write(event.data.result[i]);
        window.parent.postMessage('DONE', '*');
    };
};
</script>
</head>
<body>
</body>
</head>
