Re: [slightlyoff/ServiceWorker] Remove frameType, maybe add ancestorOrigins (#732)

Yes, that security check is important for `Location` objects. Is a `WindowClient` always same-origin?

I think you basically want to make the computation of this array reusable https://html.spec.whatwg.org/multipage/browsers.html#concept-location-ancestor-origins-array and not bother with `ancestorOrigins` itself (that you'd just define to return such an array).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/732#issuecomment-240663143

Received on Thursday, 18 August 2016 08:53:29 UTC