This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13580 - web workers postMessage
Summary: web workers postMessage
Status: RESOLVED WORKSFORME
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Web Workers (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: public-webapps-bugzilla
URL: http://www.w3.org/mid/CAFSNtX4ea0p3f=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 05:46 UTC by HTML WG bugbot
Modified: 2011-08-08 21:03 UTC (History)
5 users (show)

See Also:


Attachments

Description HTML WG bugbot 2011-08-03 05:46:27 UTC
public-html-comments posting from: Elisabeth Robson <bethrobson@gmail.com>
http://www.w3.org/mid/CAFSNtX4ea0p3f=2Jd4MQzGUsrdcrvpqFpftew+1DcVV+uoFXcg@mail.gmail.com

I am trying to figure out Web Workers, and am having a terrible time
understanding what values are allowed to be sent and received by
postMessage. It doesn't seem like the spec spells that out anywhere. I've
checked both

http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#dom-window-postmessage

and

http://dev.w3.org/html5/workers/#dedicated-workers-and-the-dedicatedworkerglobalscope-interface

I'm sure I could just be missing it, but it doesn't seem like it's specified
anywhere. It would be very useful to include this in the spec in both of
these relevant locations.

Thanks

Elisabeth Robson
Comment 1 Ian 'Hixie' Hickson 2011-08-08 21:03:10 UTC
I added a tutorial section. Let me know if it's solved the problem.