Will XHRs to gap_exec within a web worker already be intercepted by cordova, or do both the native and javascript sides need to be updated to support calling cordova APIs from within a web worker?
In either case, has any progress been made on this in a public repo? Thanks, Christian On Wed, Dec 11, 2013 at 02:08:54PM +1000, Brian LeRoux wrote: > I'm getting into a refactor of cordova.js and will keep this in mind while > I'm in there. Like Andrew says things are somewhat coupled at the moment > but that doesn't mean it has to be. > > > On Wed, Dec 11, 2013 at 12:17 PM, Andrew Grieve <[email protected]>wrote: > > > It could be made to work, but would certainly require some effort. > > > > > > On Tue, Dec 10, 2013 at 2:32 PM, Michael Gauthier <[email protected] > > >wrote: > > > > > Is it possible to use cordova inside a web worker? I tried importing the > > > cordova script but it makes reference to 'window' which is forbidden in > > > web-worker context. > > > > > > It would be useful to be able to call cordova functions from within a web > > > worker. > > > > > > Cheers, > > > Mike > > > > >
