Adding objects to Web Worker context
Is there a way to get notified about new Web Workers so I can add my objects?
You did not understand how Web Workers work. They have their own context and can never access the DOM or a window object — well, some say that Web Workers exist in a vacuum. See here:
That behaviour has nothing to do with QtWebKit but is the normal Web Worker specification. An object you add with
is added to the DOM (where else should it be placed?)! So, no chance that you can access it from within your Web Worker.