Re: [whatwg/fetch] Should request's origin be exposed to javascript (#272)

> I think this depends on when the origin is set, no? The ForeignFetchEvent.origin could be set during dispatch.

I suppose that's true, although it seems a bit weird to sometimes not have the origin match the requests origin. But then it's not like a script-created foreign fetch event is going to do anything usefull anyway, so the weirdness is probably not so bad.

Okay, for now I'll add an origin attribute to ForeignFetchEvent, which is initialized on dispatch rather than from from the request.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/272#issuecomment-218856867

Received on Thursday, 12 May 2016 19:13:28 UTC