02-25-2011 09:17 AM
In a bid to improve the responsiveness of my user interface, I attempted to move all non-DOM operations (db access, network access, etc) to a web worker.
However, I seem to have hit a road block since I cannot make database calls from the worker thread using functions like openDatabase() from the web worker. This is because the html5_init.js file is outside the scope of the web worker and the importScripts function is not supported.
Does anyone know a way around this?