After updating to Chrome 5 (specifically 5.0.375.55) last night I immediately ran some tests to see if the Web Worker API had been updated to support postMessage() arguments of types other than string.
Turns out, it had.
Here’s the test, plus the results: http://gist.github.com/414901
I did small bit of research and could only come up with this ticket:
Issues in passing parameters to HTML5 worker threads
Edit In the time since this was originally published, Chrome, Safari & Opera now support complex JSON messages.
This entry was posted by (@rwaldron) on May 26, 2010 in Chromium, Google, HTML5, JavaScript, V8 and Web Workers.
Comments