In a quest to have an interface capable of running arbitrary javascript code inside the browser, without having a security hole the size of a typical yo-mama joke, Esailija proposed using Web Workers. They run in a semi-sandboxed environment (no DO...
Can a WebWorker access the localStorage?  If not why not? Is it problematic from a security stand point?...
I'd like to generate images in a bit of asm.js code running on a web worker. And I'd like to regularly composite the latest state of that computation onto a user-visible 2d canvas, together with some other content. Currently I have code which...
I am unable to to access jQuery inside an HTML5 web worker. Is there a way I can do that?...
Is there a way to determine the number of available CPU cores in JavaScript, so that you could adjust the number of web workers depending on that?...
How can I retrieve $_FILES in PHP when I upload through a Web Worker? When I tried to use FormData, I got the following error:     Error: FormData is not defined   This is my code:  function uploadFile(blobFile, fileName, filePart, totalChunks) {...
What can service workers do that web workers cannot? Or vice versa?  It seems that web workers are a subset of the functionality of service workers. Is this correct?...
After reading this blog post: http://www.sitepoint.com/javascript-shared-web-workers-html5/  I don't get it. What's the difference between a Worker and a SharedWorker?...
I am using this Web worker which has a Global variable declared in it. Can I access the same (Global variable in worker 1) in the newly spawned web worker(worker 2)?   When I've tried using jQuery in web worker, I get error "window is not def...
I'm experimenting with web workers, and was wondering how well they would deal with embarassingly parallell problems. I therefore implemented Connaway's Game of Life. (To have a bit more fun than doing a blur, or something. The problems would...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.