[w3c/ServiceWorker] Size limits with synchronous WebAssembly functions (#1499)

Right now the synchronous [`new WebAssembly.Module(foo)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module) / [`new WebAssembly.Instance(foo, bar)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance) functions have a 4 KB size limit on the main thread, because they block the event loop.

However, you can use them in regular workers without the 4 KB limit.

Should they be allowed in service workers with or without the 4 KB limit?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1499

Received on Monday, 27 January 2020 09:40:14 UTC