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 26571 - Introduce MessageUtils per https://github.com/slightlyoff/ServiceWorker/issues/410 for usage by MessagePort and several workers
Summary: Introduce MessageUtils per https://github.com/slightlyoff/ServiceWorker/issue...
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 15:38 UTC by contributor
Modified: 2014-09-19 23:49 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2014-08-13 15:38:06 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html
Multipage: http://www.whatwg.org/C#messageport
Complete: http://www.whatwg.org/c#messageport
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html

Comment:
Introduce MessageUtils per
https://github.com/slightlyoff/ServiceWorker/issues/410 for usage by
MessagePort and several workers

Posted from: 46.127.136.57 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:34.0) Gecko/20100101 Firefox/34.0
Comment 1 Ehsan Akhgari [:ehsan] 2014-08-13 15:41:47 UTC
Jake mentions that Window could also implement MessageUtils.
Comment 2 Ian 'Hixie' Hickson 2014-08-18 20:46:42 UTC
Window and Worker have radically different postMessage()s, I'm not sure it would make sense to reuse it that way.
Comment 3 Anne 2014-08-19 05:44:12 UTC
Yeah, windows has an additional argument indeed, but for the others this would make sense. We could name it MessagePortUtils or MessageChannelUtils to avoid confusion perhaps.
Comment 4 Ian 'Hixie' Hickson 2014-09-16 22:08:56 UTC
Discussing in https://github.com/slightlyoff/ServiceWorker/issues/410 .
Comment 5 Ian 'Hixie' Hickson 2014-09-19 23:49:25 UTC
Marking WONTFIX based on the discussion in the issue mentioned in comment 0 and comment 4; please reopen if you disagree with my interpretation of that discussion.