Re: [w3c/ServiceWorker] respondWith uses the wrong targetRealm (#1055)

This indeed looks like a bug. The idea is to send it to the client's realm. The fix @isonmad suggests in the OP seems correct to me (I guess "this `FetchEvent`'s `request`'s [request](https://fetch.spec.whatwg.org/#concept-request-request)'s [client](https://fetch.spec.whatwg.org/#concept-request-client)'s [Realm](https://html.spec.whatwg.org/#environment-settings-object's-realm)" is the most correct way of getting at things.)

-- 
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/1055#issuecomment-296843882

Received on Monday, 24 April 2017 22:51:19 UTC