Contact emails
mtr...@chromium.org, bradn...@chromium.org, natt...@chromium.org
Spec
https://github.com/WebAssembly/design/pull/1074
TAG Review: https://github.com/w3ctag/design-reviews/issues/167
Summary
Extends WebAssembly to support PostMessage of WebAssembly.Module objects to Web Workers. To clarify, this is scoped to just Web Workers (same process, different thread), and not extended to cross-process scenarios (such as cross-origin postMessage, or shared web workers).
Link to “Intent to Implement” blink-dev discussion
Follow on to WebAssembly intent to implement:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/6iqiskBdDQE
As well as WebAssembly structured cloning intent to implement:
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/Dogpn1hpnhw
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Demo links
Debuggability
Leverages existing debugging support for JavaScript APIs.
Interoperability and Compatibility Risk
This feature is was originally intended to be included in launch of WebAssembly. It is supported by Firefox, and other engines have expressed the intention to include it.
Edge: Not yet implemented, in progress.
Firefox: Launched.
Safari: Implementation in progress.
Web developers: Emscripten developers likely to use this pattern once available for Web Workers.
Of all the tests for web-exposed behavior, are any not in web-platform-tests? Please explain and link to bugs.
The API is covered here:
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/external/wpt/wasm/
OWP launch tracking bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=746486&desc=2
Entry on the feature dashboard
Subset of:
https://www.chromestatus.com/features/5453022515691520
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/64e8cef2-4541-4de5-9329-26156d3a2a4d%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/64e8cef2-4541-4de5-9329-26156d3a2a4d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAG%3DZA4fkhotPZvzV%2B4kOwHyc%3DgJgAZ%3DgzqZba9tpa7Ay5jn2GQ%40mail.gmail.com.
For an example of some exhaustive tests of a related area, namely SharedArrayBuffers, see https://github.com/w3c/web-platform-tests/tree/master/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers . See also the test plan we used in assembling those tests, in https://github.com/w3c/web-platform-tests/pull/5003 .
In an ideal world, we’d get similar coverage for WebAssembly.Module and WebAssembly.Memory.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/64e8cef2-4541-4de5-9329-26156d3a2a4d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAG%3DZA4fkhotPZvzV%2B4kOwHyc%3DgJgAZ%3DgzqZba9tpa7Ay5jn2GQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
blink-dev+...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY9V4CSg29KtifaPcB3NWuNy26tdpx7TKbhPmxPY3pfA1w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DM2PR0501MB8594E1E7569B2201C5BE074DFBE0%40DM2PR0501MB859.namprd05.prod.outlook.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/64e8cef2-4541-4de5-9329-26156d3a2a4d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAG%3DZA4fkhotPZvzV%2B4kOwHyc%3DgJgAZ%3DgzqZba9tpa7Ay5jn2GQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Hi All,Bringing this back to life, as we've now got some customers that are interested in sharing WebAssembly compilation between Workers (even though we don't yet have SABs turned back on).The structured cloning aspect got lost before we issued our fPWD, but is being resolved for the next draft (by Dan Ehrenberg who know's this space far better than I do):Assuming that lands in the Editors draft soon, how would folks feel about switching this on in M66 (it's been sitting ready behind a flag for some time now)?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/36d19f1b-1245-490f-8671-871dbcaee22b%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BOSsVYFGPmFhL68VCFrQ-%3DktHrhF5%2BD35UmL4D8NFUH0Me01Q%40mail.gmail.com.
Thanks!-BradN
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/64e8cef2-4541-4de5-9329-26156d3a2a4d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAG%3DZA4fkhotPZvzV%2B4kOwHyc%3DgJgAZ%3DgzqZba9tpa7Ay5jn2GQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY9V4CSg29KtifaPcB3NWuNy26tdpx7TKbhPmxPY3pfA1w%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DM2PR0501MB8594E1E7569B2201C5BE074DFBE0%40DM2PR0501MB859.namprd05.prod.outlook.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/36d19f1b-1245-490f-8671-871dbcaee22b%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
We need a decision on shipping this. As per Brad's email, it looks like everything is ready to go, we just need an appropriate LGTM from a web platform owner.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/7e6e2cf8-3f36-423b-8f22-47a5dcce3a6b%40chromium.org.
+Domenic.On Thu, Jun 28, 2018 at 3:38 AM Ben Smith <bi...@chromium.org> wrote:Here's the current status: at the WebAssembly CG, we decided to include structured clone of modules in the v1 spec, without IndexedDB support. The spec PR for this landed yesterday.I looked into the single WPT failure too, which has this associated bug. The basic issue AIUI is that the current implementation will share modules between the main thread and the service worker, even though they are in different agent clusters. Should this bug block shipping?
Note that this bug isn't limited to service workers, that just happens to be the case that has test coverage.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3928f877-9b4a-498c-ab1d-dd1e00b62524%40chromium.org.
LGTM1!I think any remaining testing concerns can be resolved in parallel with shipping.Another clarifying question: I see that since this intent started more than a year ago, all other browsers have shipped. Or at least that's what the chromestatus entry now says. Is that correct?
On Tue, Aug 21, 2018 at 3:06 PM Chris Harrelson <chri...@chromium.org> wrote:LGTM1!I think any remaining testing concerns can be resolved in parallel with shipping.Another clarifying question: I see that since this intent started more than a year ago, all other browsers have shipped. Or at least that's what the chromestatus entry now says. Is that correct?Sorry, that chromestatus entry was for WebAssembly in general. Just noticed that. Is there one for WebAssembly PostMessage yet? If not you should add a new one.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3928f877-9b4a-498c-ab1d-dd1e00b62524%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f2aa5409-4d5a-4484-9671-314afc812186%40chromium.org.
Thank
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhKHioyfOY%2BqOtJB0wHU7isQjBii1FB4NDZDnac%3DfKyxg%40mail.gmail.com.