{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/localForage/issues/362","labels_url":"https://api.github.com/repos/mozilla/localForage/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/localForage/issues/362/comments","events_url":"https://api.github.com/repos/mozilla/localForage/issues/362/events","html_url":"https://github.com/mozilla/localForage/issues/362","id":63755188,"number":362,"title":"Fix Web Worker support","user":{"login":"johnmellor","id":563043,"avatar_url":"https://avatars.githubusercontent.com/u/563043?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmellor","html_url":"https://github.com/johnmellor","followers_url":"https://api.github.com/users/johnmellor/followers","following_url":"https://api.github.com/users/johnmellor/following{/other_user}","gists_url":"https://api.github.com/users/johnmellor/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmellor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmellor/subscriptions","organizations_url":"https://api.github.com/users/johnmellor/orgs","repos_url":"https://api.github.com/users/johnmellor/repos","events_url":"https://api.github.com/users/johnmellor/events{/privacy}","received_events_url":"https://api.github.com/users/johnmellor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T15:44:51Z","updated_at":"2015-04-20T11:49:09Z","closed_at":"2015-04-20T11:49:09Z","body":"Web Worker support was added in #144, and empirically seemed to work fine in version 0.9.1 (tested in Service Workers on Chrome), but now in version 1.2.2 it no longer works.\r\n\r\nCommit https://github.com/mozilla/localForage/commit/69a64f8a91225ef27497e641e39d0d7ab54a3ac7 seems to be the biggest issue, but there are some other issues like uses of window.console that have been added (e.g. https://github.com/mozilla/localForage/commit/0a6bedeb81378008751d4c82c6721ad75d9e7fd1).\r\n\r\nIt would be great to restore support for Web Workers, especially since IndexedDB now works in workers in Firefox (see #350).\r\n\r\n@dougt started hacking on this in https://github.com/dougt/push-api-appengine-demo/commit/cdb453e0aab0382a5f2a45a9152aadbf76e7e2d7, but I don't know how much remains to be done."},"comment":{"url":"https://api.github.com/repos/mozilla/localForage/issues/comments/94431514","html_url":"https://github.com/mozilla/localForage/issues/362#issuecomment-94431514","issue_url":"https://api.github.com/repos/mozilla/localForage/issues/362","id":94431514,"user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T11:49:09Z","updated_at":"2015-04-20T11:49:09Z","body":"Duplicate of #350."}}