idb-iegap icon indicating copy to clipboard operation
idb-iegap copied to clipboard

Webworker Support

Open maol1 opened this issue 10 years ago • 2 comments

idb-iegap doesn't work inside a webworker.

maol1 avatar Dec 23 '14 10:12 maol1

Thanks for finding. I'm currently dealing with the other issues right now. And I'll have a look at this one when done with those.

You could help me a lot by creating a unit test that reproduces it.

Thanks David

dfahlander avatar Dec 27 '14 17:12 dfahlander

Hi David

Here a very simple test case. the test.html just creates a worker using the idb-iegap.js and logs the error to the console. In a worker there is no „window“ that’s why it currently fails. I tried to remove the reference to „window“ or replace it by „self“ but then it fails somewhere else.

Greetings Oliver

Am 27.12.2014 um 19:44 schrieb David Fahlander [email protected]:

Thanks for finding. I'm currently dealing with the other issues right now. And I'll have a look at this one when done with those.

You could help me a lot by creating a unit test that reproduces it.

Thanks David

— Reply to this email directly or view it on GitHub https://github.com/dfahlander/idb-iegap/issues/3#issuecomment-68184989.

maol1 avatar Jan 01 '15 09:01 maol1