The Wayback Machine - https://web.archive.org/web/20201018115301/https://github.com/topics/workers
Skip to content
#

workers

Here are 312 public repositories matching this topic...

fred-wang
fred-wang commented Aug 5, 2020

cc @mikewest @annevk @ericlaw1979

From https://html.spec.whatwg.org/multipage/system-state.html#normalize-protocol-handler-parameters:

'If the resulting URL record's scheme is not "https" or the resulting URL record's origin is not same origin with environment's origin, then throw a "SecurityError" DOMException.'

It seems this forbids localhost URLs like http://127.0.0.1 that are in a se

gpoitch
gpoitch commented Oct 1, 2018

I know this is specific to web workers, however I think this could be adapted to work for service workers. I was looking to create a separate plugin but the code would be mostly the same.

Looks like it scans the AST for a keyword (Worker) and generates an entry for the referenced file.

// web worker
new Worker('./foo.js', { type: 'module' })

// service worker
navigator.servi
bree

🚥 The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v10+ and browsers, uses workers to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and graceful shutdown. Simple, fast, and lightweight. Made for @forwardemail and @ladjs.
  • Updated Aug 28, 2020
  • JavaScript
joaom182
joaom182 commented Jul 28, 2018
Crash java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to load script from assets 'threads/pre-load-data-worker.thread.bundle'. Make sure your bundle is packaged correctly or you're running a packager server.

![screen shot 2018-07-28 at 11 29 18](https://user-images.githubusercontent.com/3612098/43357535-8379af28-9259-11e8-9c5a-96

Improve this page

Add a description, image, and links to the workers topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the workers topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.