Re: [w3c/ServiceWorker] Service worker MessageEvents set the "origin" property, but Worker MessageEvents do not. (#1122)

Well, we may not be consistent in doing that.  Our InitMessageEvent() takes an origin, but we do pass empty string in some places.  For example, firing a MessageEvent in a worker due to worker.postMessage() seems to use the empty string origin. :-\

MessageChannel also seems to pass the empty string.

Sorry for my confusion here.  Maybe @bakulf can shed some light on it.

-- 
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/1122#issuecomment-294931712

Received on Tuesday, 18 April 2017 18:06:27 UTC