Web Workers API Shim (on top of Google Gears)

Credits

Jonathan 'J5' Cook

Demo

Click the button below to demo this thing.

Information

A class/constructor implements the worker's internal state (WorkerGlobalScope) according to the WebWorker API

A worker class which instantiates the new worker thread and and the managing class (DedicatedWorker)

What's Not Done

Some stuff from the API is not yet implemented:

Lessons Learned

A few items I learned working on this code:

A Peek at the Worker's Internal Code