Revision fb690bc22dd76408313b02fc08b55cbdf3350c22 authored by jgraham on 03 January 2014, 16:04:38 UTC, committed by jgraham on 03 January 2014, 16:04:38 UTC
Add tool for generating test list in JSON format
2 parent s 94d07b3 + a1ef7c8
Raw File
idb_webworkers.htm
<!DOCTYPE html>
<html>
<head>
    <title>IndexedDB inside of a WebWorker </title>
    <script type="text/javascript" src="support.js"></script>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script type="text/javascript">
        var t = async_test(); 

        function RunTest() {
            var worker = new Worker("idbworker.js");
            worker.onmessage = t.step_func( function (event) {
                assert_equals(event.data, true, 'self.indexedDB');
                t.done();
            });
            worker.postMessage(1);
        }
        
        t.step( RunTest );

    </script>
</head>
<body>
    <div id="log"></div>
</body>
</html>
back to top